LDAP: "The user 12345 has no default group set."
Posted: Mon May 21, 2012 4:48 pm
Hi,
this bug is probably very closely related to #8040, but we didn't make any changes using the web interface.
We have LDAP authentication in place (to be more precise, we're authenticating against the ActiveDirectory here) which works very nice in general. Since we're just in the process of evaluating and setting up OMERO, I haven't configured any automatic (LDAP-based) groups yet, but decided to go for manual administration here.
Recently, I added one of our users to a specific group and removed it from the default group where it was added automatically upon the first logon. The same was performed on my personal (non-administrator) user account, but I once logged on with it selecting the new group before the membership of the default group was removed with the administrative account.
Now I still can log on with my personal account ending up in the right group, but the user that hasn't logged on before the membership of the default group was removed can't log on anymore, even though she is member of a valid group. Manually adding her to the default group doesn't solve the problem.
All of this was performed using the latest official OMERO client. I also had a quick look in the database tables, but I didn't change anything for obvious dangers of breaking the whole thing (and I couldn't see what's different for this user account compared to mine).
I tried to attach the relevant excerpt of Blitz-0.log but unfortunately the board didn't let me do so. It was complaining for ".log" or ".txt" not being a valid filename suffix. I can add it as a separate post if desired, otherwise here's the main messages:
Thanks a lot in advance!
~Niko
this bug is probably very closely related to #8040, but we didn't make any changes using the web interface.
We have LDAP authentication in place (to be more precise, we're authenticating against the ActiveDirectory here) which works very nice in general. Since we're just in the process of evaluating and setting up OMERO, I haven't configured any automatic (LDAP-based) groups yet, but decided to go for manual administration here.
Recently, I added one of our users to a specific group and removed it from the default group where it was added automatically upon the first logon. The same was performed on my personal (non-administrator) user account, but I once logged on with it selecting the new group before the membership of the default group was removed with the administrative account.
Now I still can log on with my personal account ending up in the right group, but the user that hasn't logged on before the membership of the default group was removed can't log on anymore, even though she is member of a valid group. Manually adding her to the default group doesn't solve the problem.
All of this was performed using the latest official OMERO client. I also had a quick look in the database tables, but I didn't change anything for obvious dangers of breaking the whole thing (and I couldn't see what's different for this user account compared to mine).
I tried to attach the relevant excerpt of Blitz-0.log but unfortunately the board didn't let me do so. It was complaining for ".log" or ".txt" not being a valid filename suffix. I can add it as a separate post if desired, otherwise here's the main messages:
- Code: Select all
2012-05-18 09:56:16,209 WARN [ome.services.sessions.SessionManagerImpl] (l.Server-3) Exception while running executeDefaultGroup
ome.conditions.ValidationException: The user 54 has no default group set.
....
....
2012-05-18 09:56:16,214 INFO [ ome.services.util.ServiceHandler] (l.Server-3) Excp: ome.conditions.ApiUsageException: Can't find default group for ferranda
Thanks a lot in advance!
~Niko