You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FIX] users_ldap_populate: Decode login information
When iterating through the users from LDAP, if the login information
is read in bytes, passing the value in bytes to the psycopg2 library
doesn't work, failing with this error:
```
psycopg2.errors.UndefinedFunction: operator does not exist: text = bytea
LINE 1: SELECT id FROM res_users WHERE lower(login)='...
```
so we need to decode the result before to get a pure string.
TT56992
0 commit comments