Comment 18 for bug 1187305

Revision history for this message
Jose Castro Leon (jose-castro-leon) wrote : Re: LDAP vulnerability when checking user credentials

We don't use anonymous binding and the account to connect to LDAP has a password. When authenticated the password was empty not None. Then in the get_connection function is was not replaced by LDAP_PASSWORD and the simple_bind was also not done.

I realize that when I was trying to obtain a quick fix and instead of 'not password', I tried 'password is None' and it was not raising the exception as it should be.