[ome-users] LDAP question
Josh Moore
josh at glencoesoftware.com
Wed Mar 30 13:13:07 BST 2011
On Mar 30, 2011, at 12:04 AM, Wood, Christopher wrote:
> Hi,
Hi Chris,
> We have just set up an omero 4.2.2 server to use ldap. I seems to work, but we are having an issue with upper/lower case usernames.
>
> Our domain usernames are usually our initials, so I we login to everything as 'abc'. I always use lower case without problems. When I tried to login to omero for the first time with abc, I could not login. Logging in with all upper case ABC worked, and it created an ldap omero user as 'ABC', all caps (as it should).
> Another person logged in with lower case, 'xyz', and it worked. It seems that the case of the username depends on who initially created a user account.
This certainly sounds odd. Could you possibly send the var/log/Blitz-0.log file (off list if you prefer), so we can see if a particular exception caused the initial failure during your lowercase login.
> Is there any way to get around this from the omero point of view, so all usernames can be lowercase, regardless of the case on the ldap server
You should be able to change your username via WebAdmin now, without effecting the LDAP login. What's happened (I think) is that the password check, for whatever reason, required capitals. However, after the successful login your dn was inserted into the password table. That should now be used to perform the lookup, regardless of what your username is.
At the moment, there's no way to set a flag to have all usernames lower cased. By subclassing on of the LDAP extension points, however, it should be achievable.
> Thanks
> Chris
Cheers,
~Josh.
More information about the ome-users
mailing list