LDAP Setup and Configuration Guide

ldaplist Command

ldaplist is an LDAP utility to list the naming information from the LDAP servers. See ldaplist(1) for more info.

List the Naming Information from the LDAP Servers
  1. List the containers for the baseDN.


    # ldaplist hosts myhost
    dn: cn=myhost+ipHostNumber=100.100.100.100,ou=Hosts,
    dc=mkt,dc=mainstore,dc=com

    Without any argument, ldaplist returns all the containers in the current search baseDN.