Omero LDAP issues

Hi,

I’ve hit some LDAP issues while setting up a Docker based Omero install. I can login successfully when I use firstname, lastname, but I need the server to authenticate via uid instead. The user_mapping option is set to:

CONFIG_omero_ldap_user_mapping=omeName=uid,firstName=givenName,lastName=sn,email=mail

Looking at our LDAP server logs, Omero seems to be searching via cn instead of uid. Could the server be ignoring the above and using the default setting user_mapping instead (omeName=cn)? I’ve tried rebuilding the container multiple times and checking the config via bin/omero config get, but I can’t seem to get it to work.

Many thanks,

Hi Dred
Will it be possible to send us the logs via http://qa.openmicroscopy.org.uk/qa/upload/?
It might take a few days before we get back to you. We have limited manpower at the moment, few members of the team are on holidays.

Cheers

Jmarie

Hi Jmarie,

Thank you for the reply. No worries about the delay.

I’ll upload an excerpt from the Blitz log along with our server config.

Kind regards,

D

Thanks for the log and config info.
We will check and get back to you

cheers

Jmarie

Hi @Dred,

In your Docker environment you need to escape underscores with another underscore. e.g. omero.ldap.user_mapping becomes CONFIG_omero_ldap_user__mapping.

All the best,
~Josh

Hi Josh,

That’s perfect - it now works as expected. Thank you very much!

Cheers,

Doug

1 Like