Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backend: Handle binary data from LDAP
It seems the Python 3 version of the LDAP module returns bytes instead of strings. This caused the full name fetched from LDAP, now a bytes object, to be passed around and sent to the backend as an xmlrpc.client.Binary from the web UI and causing a crash. Updated the LdapAuth class to decode the received full name and encode strings to bytes before determining group membership.
- Loading branch information