13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Retrieving <strong>LDAP</strong> <strong>Naming</strong> <strong>Services</strong>InformationYou can retrieve information about <strong>LDAP</strong> naming services by using the ldaplistutility. This <strong>LDAP</strong> utility lists the naming information from the <strong>LDAP</strong> servers in LDIFformat. It can be useful for troubleshooting. See ldaplist(1) for further information.Listing All <strong>LDAP</strong> Containersldaplist displays its output with a blank line separating records, which is helpfulfor big multiline records.Note – The output of ldaplist depends upon the client configuration. For example, ifthe value of ns_ldap_search is sub rather than one, ldaplist lists all the entriesunder the current search baseDN.The following is an example of ldaplist output.# ldaplistdn: ou=people,dc=west,dc=example,dc=comdn: ou=group,dc=west,dc=example,dc=comdn: ou=rpc,dc=west,dc=example,dc=comdn: ou=protocols,dc=west,dc=example,dc=comdn: ou=networks,dc=west,dc=example,dc=comdn: ou=netgroup,dc=west,dc=example,dc=comdn: ou=aliases,dc=west,dc=example,dc=comdn: ou=hosts,dc=west,dc=example,dc=comdn: ou=services,dc=west,dc=example,dc=comdn: ou=ethers,dc=west,dc=example,dc=comdn: ou=profile,dc=west,dc=example,dc=comdn: automountmap=auto_home,dc=west,dc=example,dc=comdn: automountmap=auto_direct,dc=west,dc=example,dc=comChapter 12 • Setting Up <strong>LDAP</strong> Clients (Tasks) 185

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!