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

This is in the FAQ. It's a known issue with MediaWiki. I put a little effort into fixing this recently and realized that I was breaking a lot of code by doing so. There's a workaround in the FAQ. I doubt I'll fix this any time soon.