[Date Prev][Date Next] [Chronological] [Thread] [Top]

bind using sAMAccount



hello! Is it possible to bind to an Exchange Server with the sAMAccount instead of the cn?
 ldapsearch -x -h example -D "sAMAccountName=melissa, cn=users, dc=example, dc=com" -W -b "cn=users,dc=example,dc=com" "(&(objectCategory=person)(objectClass=user))"
 
any help is much appreciated!
thanks!
 
melissa