i new learning ldap authentication. there 2 commands can use search ldap directory:
first one:
ldapsearch -b "base directoty path" -d "cn=manager,dc=mydomain,dc=com" -w "ldap pwd" second one:
ldapsearch -x -b "dn of entry searched" the first command requires pwd, whereas second doesn't. happening here?
with:
ldapsearch -b "base directoty path" -d "cn=manager,dc=mydomain,dc=com" -w "ldap pwd"
you requesting server prompt password "-w". not prompt, use "-w".
with
ldapsearch -x -b "dn of entry searched"
you not providing binddn (-d) search in done anonymously. maybe helpful:
https://docs.oracle.com/cd/e19693-01/819-0997/auto45/index.html
or google ldapsearch.
Comments
Post a Comment