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

  1. just authenticat with a user with special chars like the german รถ

Example

Component selection

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


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/UnicodeDecodeErrorAuth.py (last edited 2007-10-29 19:08:21 by localhost)