Bug tracker
LDAP auth on login fails when binddn has html escaped chars (fix completed in vcs)
Here is the fix:
diff includes/auth/auth_ldap.php includes/auth/auth_ldap.php.orig
155c155
< if (!@ldap_bind($ldap, htmlspecialchars_decode($config['ldap_user']), htmlspecialchars_decode($config['ldap_password'])))
---
> if (!@ldap_bind($ldap, $config['ldap_user'], htmlspecialchars_decode($config['ldap_password'])))
Following DRY this line of code should be moved in a function.
Comments / History
You can safely test it out on 3.0.5.
It's a pain in about < 5% of all cases, but being consistent is the whole point of it.
Html is not the only output it should be able to produce...