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
I try to setup Synapse Matrix server with LDAP database (Samba AD server on Linux via Zentyal). After setup it connects successfully, also I can login to Matrix via LDAP login-password, but in user settings "email" field is empty and "Display name" is wrong (equal as login).
Seems that this happens because LDAP user DN and name contains non-ascii unciode symbols (Cyrillic), because I see in logs:
Maybe I can force setup encoding in ldap3 module to UTF-8? I have found a fork of matrix-synapse-ldap3 project with commit slipeer/synapse-ldap-password-provider@0370fbc
Seems it try to add default encoding to matrix-synapse to UTF-8, is this right way?
MurzNN
changed the title
UnicodeEncodeError: 'ascii' codec can't encode characters on non-ascii symbols (cyrillic) in LDAP server
UnicodeEncodeError: 'ascii' codec can't encode characters on non-ascii symbols (cyrillic) in LDAP server on matrix-synapse-ldap3 module
Jun 28, 2017
I try to setup Synapse Matrix server with LDAP database (Samba AD server on Linux via Zentyal). After setup it connects successfully, also I can login to Matrix via LDAP login-password, but in user settings "email" field is empty and "Display name" is wrong (equal as login).
Seems that this happens because LDAP user DN and name contains non-ascii unciode symbols (Cyrillic), because I see in logs:
How can I fix this problem?
The text was updated successfully, but these errors were encountered: