Theres some weired things happening in 5.0, as soon as you use LDAP and subdomains together with the Admin-User Management Form.

In our case we decided to accept LDAP Authetication and automatic creation of non existing users.

The Windows DomainName is build out of sub.domain.de.

When I log in with a user named Administrator@sub.domain.de a user with exactly that name will be created and that’s fine.

But as soon as I go to edit this users priviliges e.g. from the sugar build in “admin”-Account to e.g. give that user admin privileges, the username is shortened to Administrator@sub.domain (I can not even edit it back to the goodknown value as it would not accept to put in an “.de” after the “domainexample

If I now safe the values to the database the username in the database gets changed to the shortened value and the existing ldap user is destroyed that way.

A workaround is to edit such ldap-created users with subdomain directly from within the database e.g. with phpMyAdmin or in our case with the very SQLServer Tool.

I’m already searching for the “bug” in the edit-Forms code but probably the “original” SE who build this will be able to find the problem faster than me.

regards
Michael