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()
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( )