Description
It looks like that Active Directory accepts trailing white spaces at the end of username.
Other LDAP providers instead discard eventual tralining spaces.
Active Directory behavior is probably not standard, but adding an option to trim usernames could be useful to avoid risking to incur in problems hard to debug (as it just happened to us).