LDAP integration bug - LDAP Error Code 49
-
Hello coders of pfsense,
I tried to configure LDAP integration with Pfsense and I think there's a bug with authentication method. I tried authentication anonymously but couldn't connect and using wireshark on my AD I could see this error "80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1"
It seems that even if you set the option to not use authentication credentials and rather use anonymous method to connect to AD, it will still try to authenticate using credentials.
so I created a user and set up a password "abc+123" and tried to connect but that didn't work either and gave me the same error (invalid credentials)
80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1–
I changed the password of the user to plain password "pfsense" without quotes and the result was successful. I could connect now without any issue.
on some website, it says that error might be related to coding issue as these passwords get transmitted html-encodedly.
it says this would solve it "html_decode_entities($password)"
hope this helps improves this great software.
;D