Comment 5 for bug 1079476

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The python-ldap library has some legacy code that predates the unicode introduction in Python, and all its methods expect bytestrings parameters only (utf-8 encoded for LDAPv3).
All the parameters that are taken from the OpenERP database need to be utf-8 encoded before being passed to the LDAP functions (by default the database returns unicode values)

Thanks for reporting!