ltb-project / self-service-password

Web interface to change and reset password in an LDAP directory
https://self-service-password.readthedocs.io/en/latest/
GNU General Public License v3.0
1.15k stars 325 forks source link

LDAP - Bind error 49 (Invalid credentials) #838

Closed Lulan1999 closed 7 months ago

Lulan1999 commented 7 months ago

i need help that works perfectly i can connect to ldap ldapsearch -D "cn=lonalu ,cn=Users,dc=zuzu,dc=local" -x -w "password" -h 10.0.0.139 -b "cn=Users,dc=zuzu,dc=local"

but configuration what i have is showing that problem LDAP - Bind error 49 (Invalid credentials), when try to do anything on site as change password or send e-mail, anyone could explain me where is the problem? what do i do wrong? i am using docker version, configuration for sure is working ,because i tested on 2 diffrent ad one on linux and one on windows when i changed ip i had two difrent messages but now i stuck on that problem. please give me some advice $ldap_url = "ldap://10.0.0.139"; $ldap_binddn = "cn=lonalu ,ou=Users,dc=zuzu,dc=local"; $ldap_bindpw = "password"; $keyphrase = "mysecret"; $ldap_starttls = false; $ldap_base = "dc=zuzu,dc=local"; $debug = true;

whem i leave binddn and bindpw empty error is LDAP - Search error 1 (Operations error), referer

davidcoutadeur commented 7 months ago

Please don't use the issue system for questions, there is the mailing list for that.

Error 49 means wrong authentication: either wrong password or DN.

coudot commented 7 months ago

See https://github.com/ltb-project/self-service-password/discussions/836

Lulan1999 commented 7 months ago

credientals is good i will not make a mistake if i already checked ldapsearch -D "cn=lonalu ,cn=Users,dc=zuzu,dc=local" -x -w "password" -h 10.0.0.139 -b "cn=Users,dc=zuzu,dc=local" and have no problem to connect please help me nobody answering me on my case #836