Difference between revisions of "Ldapsearch"

From MyWiki
Jump to: navigation, search
Line 4: Line 4:
 
-b "cn=Barbara Jensen, ou=Product Development,dc=example,dc=com" ( -b "" to search root DSE )<br>
 
-b "cn=Barbara Jensen, ou=Product Development,dc=example,dc=com" ( -b "" to search root DSE )<br>
 
-D "uid=bjensen, dc=example,dc=com" ( Authentication distinguished name )<br>
 
-D "uid=bjensen, dc=example,dc=com" ( Authentication distinguished name )<br>
 +
-h mozilla ( host ) <br>

Revision as of 08:56, 23 April 2015

Reference : https://www.centos.org/docs/5/html/CDS/ag/8.0/Finding_Directory_Entries-Using_ldapsearch.html
[optional_options] [optional_search_filter] [optional_list_of_attributes]
Options
-b "cn=Barbara Jensen, ou=Product Development,dc=example,dc=com" ( -b "" to search root DSE )
-D "uid=bjensen, dc=example,dc=com" ( Authentication distinguished name )
-h mozilla ( host )