1

I'm using ubuntu 14.04 and OpenLDAP-2.4.40. I have synchronized Active Directory users in OpenLDAP using LSC utility. Now I want to do the authentications on the OpenLDAP part and will use the AD password using Pass-Trough authentication with SASL.

To do this I have followed this blog. After performing all the steps mentioned in this blog, I have fired the below command in command line to fetch user details:

ldapsearch -x -H ldap://ldap.example.com -D uid=Administrator,CN=Users,DC=example,DC=com -w password -b CN=Users,DC=example,DC=com

but after that I am getting:

ldap_bind: Invalid credentials (49)

even though credentials are correct. There are no logs in the log file to debug the issue.

Jakuje
  • 9,715
  • 2
  • 42
  • 45
user376703
  • 11
  • 1
  • Please don't cross post, questions can be migrated to a more suitable SE site if off-topic or unsuitable (or delete [your question from SO](http://stackoverflow.com/questions/39589822/ldap-bind-invalid-credentials-49-when-configuring-pass-trough-authentication) if you don't want to wait for your question to be migrated) – HBruijn Sep 20 '16 at 15:15
  • You might want to take a look at your log files first (maybe after increasing the [loglevel]("http://www.openldap.org/doc/admin24/slapdconfig.html#loglevel ")) and post any errors/warnings you get – HBruijn Sep 20 '16 at 15:19

0 Answers0