nerdexam
LPI

117-300 · Question #153

In order to migrate usernames and passwords from a NIS server, the passwd and shadow files were used with a custom script to import the data to OpenLDAP. After properly creating a test workstation…

The correct answer is A. The NIS database is not synchronized with passwd and shadow. See the full explanation below for the reasoning.

Question

In order to migrate usernames and passwords from a NIS server, the passwd and shadow files were used with a custom script to import the data to OpenLDAP. After properly creating a test workstation to authenticate against LDAP, the number of lines outputted from getent passwd are different from the number on the NIS client workstation. Which one of the following statements can be true?

Options

  • AThe NIS database is not synchronized with passwd and shadow.
  • BThe OpenLDAP server creates some additional users that are shown in getent.
  • CThe NIS clients are not receiving the correct files from the server.
  • DThe NIS clients are confused since OpenLDAP and NIS use the same port to communicate.
  • EThe OpenLDAP client is querying the NIS server on the wrong TCP/IP port.

How the community answered

(21 responses)
  • A
    71% (15)
  • C
    14% (3)
  • D
    5% (1)
  • E
    10% (2)

Community Discussion

No community discussion yet for this question.

Full 117-300 Practice