apt-get install ldap-utils libldap-2.4-2 libnss-ldap libpam-ldap
HOST master BASE dc=dom02,dc=linux,dc=class
ldapsearch -x -LL -b '' -s base '(objectclass=*)' namingContexts