We're Hiring!

Dealing with LDAP group rename

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Dealing with LDAP group rename

Postby jbyars » Fri May 29, 2015 9:41 pm

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
jbyars
 
Posts: 24
Joined: Wed Jun 01, 2011 9:51 pm

Re: Dealing with LDAP group rename

Postby jmoore » Mon Jun 01, 2015 12:51 pm

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
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Dealing with LDAP group rename

Postby jbyars » Thu Jul 16, 2015 10:42 pm

So if the DN did change, what do you do?
jbyars
 
Posts: 24
Joined: Wed Jun 01, 2011 9:51 pm

Re: Dealing with LDAP group rename

Postby atarkowska » Fri Jul 17, 2015 1:13 pm

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
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest