Software >> Services >> LDAP >> openldap >> How to use ldapsearch to query Active Directory

eg. domain controller dc10 192.168.1.1 (1) ./ldapsearch -v -h 192.168.1.1 -b '' -s base '(objectclass=*)' (2) Show the domain naming contexts # ./ldapsearch -h 192.168.1.1 -b '' -s base '(objectclass=*)' namingContexts