Page 1 of 1

Change a user to being a LDAP user

PostPosted: Mon Feb 03, 2014 8:44 am
by Sethur
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!

Re: Change a user to being a LDAP user

PostPosted: Mon Feb 03, 2014 10:59 am
by jmoore
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

Re: Change a user to being a LDAP user

PostPosted: Wed Feb 05, 2014 3:18 pm
by Sethur
Thanks Josh, I'll try it right away.