Comment 2 for bug 1079476

Revision history for this message
Daniel Reis (dreis-pt) wrote :

Just reproduced this problem in 6.1.
The fix above didn't work for me.

The patch I used was, in users_ldap,pt, class CompanyLDAP, method authenticate():

replace
                conn = self.connect(conf)
                conn.simple_bind_s(dn, password)
                conn.unbind()

with
                conn = self.connect(conf)
                conn.simple_bind_s(dn, password.encode("utf-8") )
                conn.unbind()