Page 1 of 1

Dealing with LDAP group rename

PostPosted: Fri May 29, 2015 9:41 pm
by jbyars
If the group names on the ldap server change, how can I adjust my existing OMERO deployment to match the new group names. I.E. can I just update the name field in the experimentergroup table? I just want to preserve the user relationships and the data in the existing groups. I don't care about the actual group names. Thanks

Re: Dealing with LDAP group rename

PostPosted: Mon Jun 01, 2015 12:51 pm
by jmoore
Assuming that the entire DN of the group didn't change in LDAP then, yes, likely you can just edit the group name. E.g. from the commandline:

Code: Select all
$ bin/omero -q login root@localhost
$ bin/omero -q group info GROUP
   id | name  | perms  | ldap  | # of owners | # of members
------+-------+--------+-------+-------------+--------------
  123 | GROUP | rw---- | False | 0           | 1
(1 row)
$ bin/omero -q obj update ExperimenterGroup:123 name=NEWNAME


Cheers,
~Josh

Re: Dealing with LDAP group rename

PostPosted: Thu Jul 16, 2015 10:42 pm
by jbyars
So if the DN did change, what do you do?

Re: Dealing with LDAP group rename

PostPosted: Fri Jul 17, 2015 1:13 pm
by atarkowska
Hi,

Could you give us more details about your setup? Which OMERO version do you use?
Do you use just
Code: Select all
omero.ldap.new_user_group
or
Code: Select all
omero.ldap.new_user_group
with
Code: Select all
omero.ldap.sync_on_login
?

Ola