I managed to get Omero with OpenLDAP 2.4 working. My only problem is that the memberof attribute is just an overlay or so called "operation attribute" which I couldn't use for filtering the user so far.
What I want to do is add users in LDAP to a group and in Omero just check if these users are a member of this specific group.
Here's is my current working config (which does not check for any group)
- Code: Select all
omero.ldap.base=dc=***
omero.ldap.config=true
omero.ldap.group_filter=(objectClass=groupOfNames)
omero.ldap.group_mapping=name=cn
omero.ldap.new_user_group=default
omero.ldap.password=***
omero.ldap.urls=ldap://***:389
omero.ldap.user_filter=(objectClass=inetOrgPerson)
omero.ldap.user_mapping=omeName=uid,firstName=givenName,lastName=sn,email=mail
omero.ldap.username=cn=admin,dc=***
Unfortunatly when I change the user_filter to the following it's not working anymore
- Code: Select all
omero.ldap.user_filter=(&(objectClass=inetOrgPerson)(memberof=cn=omero,ou=group,dc=***))
Does anyone else came across this problem and maybe has in idea how to solve it?
Thanks!