Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP Login Plugin: Login fails when password contains ampersand (&) #15

Open
bluecakey opened this issue Jun 17, 2021 · 1 comment
Open

Comments

@bluecakey
Copy link

If the password contains '&' you get the following error:

Warning: ldap_bind(): Unable to bind to server: Invalid credentials in usersc/plugins/ldap_login/hooks/loginFail_body.php on line 49

This appears to be a known issue with the ldap_bind function. I could only make it work using html_entity_decode on the password as suggested here: https://stackoverflow.com/questions/12858493/php-ldap-bind-fails-when-password-contains-ampersand

@mudmin
Copy link
Owner

mudmin commented Jul 21, 2022

This was closed thanks to BH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants