Page 1 of 1

CLI command to create user from LDAP record

PostPosted: Wed Sep 10, 2014 11:19 am
by Sethur
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

Re: CLI command to create user from LDAP record

PostPosted: Wed Sep 10, 2014 11:24 am
by jmoore
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.