We're Hiring!

CLI command to create user from LDAP record

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.

CLI command to create user from LDAP record

Postby Sethur » Wed Sep 10, 2014 11:19 am

Hi,

when users get created in our LDAP system, they currently have to login to OMERO at least once to be able to use the Dropbox feature. If they don't, the Dropbox import will fail because their account has not yet been created from the respective LDAP entry.

In an effort to solve this I tried an automatic CLI login directly after the user creation via our LDAP management system. The following command seemed to work, but apparently does not lead to an actual OMERO account beeing created. Could someone point me to my mistake?

Code: Select all
omero login -s localhost -u "$USER" -w "$PWD"


Cheers,

Tristan
Sethur
 
Posts: 112
Joined: Thu Jan 16, 2014 11:34 pm

Re: CLI command to create user from LDAP record

Postby jmoore » Wed Sep 10, 2014 11:24 am

Hi Tristan,

assuming the login was successful, I would certainly have expected this to create an LDAP user in OMERO. That being said, also see `bin/omero ldap create -h` for how to do the same thing as an admin without needing to provide the user's password.

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


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest