authentication - ldapsearch: Invalid credentials -
i trying authenticate against our institutional ldap server command ldapsearch
. user info in ldap shown in following image
i used command below search dn:
ldapsearch -x -h ldap://ldap.mdanderson.edu:389 -d "cn=djiao,ou=institution,ou=people" -b dc=mdanderson,dc=edu -w xxxyyyzzz
however got error:
ldap_bind: invalid credentials (49) additional info: 80090308: ldaperr: dsid-0c0903a9, comment: acceptsecuritycontext error, data 52e, v1db1
what wrong ldapsearch command?
the bind dn not complete in command. should end dc=mdanderson,dc=edu. so, should be: cn=djiao,ou=institution,ou=people,dc=mdanderson,dc=edu
in active directory, though, users typically under cn=users tree (i don't see tree hiearchy). so, bind dn (the dn after -d argument) may have be: cn=djiao,ou=institution,cn=users,dc=mdanderson,dc=edu
Comments
Post a Comment