Thread:Extension talk:LDAP Authentication/On LDAP query a ' ' sign (underscore) in a USER NAME changes to ' ' (space)

Hi all! I set up a plugin as it was described in a manual, but I was unable to login under both local and domain user. I asked plugin to create a log file and I tried to login under 'sergey_l' account and here is what I have found in log file:

2011-01-21 14:20:31 kbdb: Entering validDomain 2011-01-21 14:20:31 kbdb: User is using a valid domain. 2011-01-21 14:20:31 kbdb: Setting domain as: DIS_AD 2011-01-21 14:20:31 kbdb: Entering getCanonicalName 2011-01-21 14:20:31 kbdb: Username isn't empty. 2011-01-21 14:20:31 kbdb: Munged username: Sergey l 2011-01-21 14:20:31  kbdb: Entering authenticate 2011-01-21 14:20:31 kbdb: 2011-01-21 14:20:31 kbdb: Entering Connect 2011-01-21 14:20:31 kbdb: Using SSL 2011-01-21 14:20:31 kbdb: Using servers:  ldaps://****.ru 2011-01-21 14:20:31  kbdb: Connected successfully 2011-01-21 14:20:31 kbdb: Entering getSearchString 2011-01-21 14:20:31 kbdb: Doing a straight bind 2011-01-21 14:20:31 kbdb: userdn is: Sergey l@****.ru 2011-01-21 14:20:31  kbdb: 2011-01-21 14:20:31 kbdb: Binding as the user 2011-01-21 14:20:31 kbdb: Failed to bind as Sergey l@****.ru 2011-01-21 14:20:31  kbdb: with password: ******** 2011-01-21 14:20:31 kbdb: Entering strict. 2011-01-21 14:20:31 kbdb: Returning true in strict. 2011-01-21 14:20:31 kbdb: Entering allowPasswordChange 2011-01-21 14:20:31 kbdb: Entering modifyUITemplate Actually, my user name is sergey_l, but it was transformed into 'Sergey l'. Seems that this exchange is quite standard for wiki, but I never thought that it is also works in usernames. How can I say to wiki that it doesn't have to produce this transformation?