[ome-users] Issues with NewUserGroupBean implementation

Harri Jäälinoja harri.jaalinoja at helsinki.fi
Tue Mar 27 13:28:16 BST 2012


On 27/03/12 11:36, Josh Moore wrote:
> Could you have your implementation return the "user" (id=1) group for everyone, and the system group (id=0) if you want a particular user to be an admin? This may be something you just need temporarily, as we'll need to decide how sync_on_login will work in the future. Alternatively, you could add something to LDAP which maps to the "user" and "system" table if you want to do everything in LDAP.

Hi Josh,
this didn't help:

                 log.debug("grpName matched " + grpOmeName);
                 groups.add(provider.createGroup(grpOmeName, null, false));
                 log.debug("grpName matched, adding group 'user'");
                 groups.add (new Long(1));


2012-03-27 15:02:46,433 DEBUG [             hyldap.HyHcNewUserGroupBean] 
(l.Server-7) grpName matched 
uid=grp-A91900-bi-vart,ou=alma_workgroups,ou=groups,o=hy
2012-03-27 15:02:46,433 DEBUG [             hyldap.HyHcNewUserGroupBean] 
(l.Server-7) grpName matched BI-Vartiainen
2012-03-27 15:02:46,438 DEBUG [             hyldap.HyHcNewUserGroupBean] 
(l.Server-7) grpName matched, adding group 'user'
...
2012-03-27 15:02:46,438 INFO  [  ome.security.auth.LdapPasswordProvider] 
(l.Server-7) Default choice on create user: hajaalin 
(ome.conditions.ValidationException: No group found for: 
uid=hajaalin,dc=helsinki,dc=fi)

I also tried with omero.ldap.sync_on_login=false, that did not work 
either. I've sent you the complete logs.

Cheers,
Harri

-- 
__________________________________________________
Harri Jäälinoja
Light Microscopy Unit
Institute of Biotechnology, University of Helsinki
http://www.biocenter.helsinki.fi/bi/lmu/
+358 9 191 59370 fax +358 9 191 59366




More information about the ome-users mailing list