authentication - ldapsearch: Invalid credentials -


i trying authenticate against our institutional ldap server command ldapsearch. user info in ldap shown in following image1]

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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -