We're Hiring!

Change a user to being a LDAP user

General user discussion about using the OMERO platform to its fullest. 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

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Change a user to being a LDAP user

Postby Sethur » Mon Feb 03, 2014 8:44 am

Hi,

I am currently trying to migrate some already existing OMERO users to LDAP, i.e. they also exist in LDAP with the same username and I want OMERO to authenticate against LDAP. Can I do this directly in the SQL database?

Thanks in advance!
Sethur
 
Posts: 112
Joined: Thu Jan 16, 2014 11:34 pm

Re: Change a user to being a LDAP user

Postby jmoore » Mon Feb 03, 2014 10:59 am

Hi Tristan,

you can definitely do it via SQL by setting the DN for the user in the password table. Alternatively, you can use the command:
Code: Select all
bin/omero ldap setdn USERNAME DN

though this doesn't work in bulk as SQL could.

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Change a user to being a LDAP user

Postby Sethur » Wed Feb 05, 2014 3:18 pm

Thanks Josh, I'll try it right away.
Sethur
 
Posts: 112
Joined: Thu Jan 16, 2014 11:34 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest