Description
When authenticating against ldap with special chars in the DN auth.py crashes at line 426 in ldap_login with UnicodeDecodeError: 'ascii' codec can't decode byte xxxx in position xx: ordinal not in range(128)
Steps to reproduce
- just authenticat with a user with special chars like the german รถ
Example
Component selection
- general
Details
MoinMoin Version |
1.5.8 |
OS and Version |
windows 2003 |
Python Version |
2.5 |
Server Setup |
ldap plugin |
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
de |
Workaround
Replace %s in all request.log calls with %r in auth.py.
Or set ldap_verbose = False in your wikiconfig.
Discussion
Plan
- Priority:
- Assigned to:
- Status: fixed in 1.5 by changeset 840: e0bd0f4ba9af