LDAP not working
Posted: Mon Oct 28, 2013 11:25 am
I am running Omero 4.4 with an application called Columbus version 2.4.
LDAP is configured as shown below from the omero config get command
omero.data.dir=/u99/repository
omero.db.name=omero4_4
omero.db.pass=columbus
omero.db.patch=0
omero.db.poolsize=50
omero.db.user=columbus
omero.db.version=OMERO4.4
omero.ldap.base=dc=enterprise,dc=amgen,dc=com
omero.ldap.config=true
omero.ldap.new_user_group=ColumbusARG
omero.ldap.password=
omero.ldap.sync_on_login=true
omero.ldap.urls=ldap://ldap.amgen.com:389
omero.ldap.username=
omero.security.default_permissions=rwr---
omero.upgrades.url=http://0.0.0.0/
The same config is in the /usr/local/PerkinElmerCTG/Columbus2.4/etc/omero.properties file.
A group has been created in Omero called ColumbusARG as shown from the command
bin/omero group list
id | name | perms | # of owners | # of members
----+-------------+--------+-------------+--------------
0 | system | rw---- | 1 | 0
1 | user | rwr-r- | 0 | 4
2 | guest | rw---- | 0 | 1
3 | ARG | rwr--- | 1 | 2
53 | ColumbusARG | rwr--- | 0 | 0
The ColumbusARG group (containing 3 members) is also created on the Enterprise LDAP ( LDAPv3) server.
The Problem: The login fails when any of the 3 members try to login/authenticate to Omero. The error log
/usr/local/PerkinElmerCTG/Columbus2.4/var/log/Blitz-0.log show the failed login but does not mention anything to do with LDAP.
When I query the Enterprise LDAP server for the members of the group I get the following output indicating that the group is setup and contain the 3 members.
#ldapsearch -LLL -h ldap.amgen.com -p 389 -x -b dc=enterprise,dc=amgen,dc=com '(cn=ColumbusARG)'
dn: cn=ColumbusARG, ou=Gerb, ou=Applications, ou=Groups, dc=Enterprise,dc=amgen,dc=com
uniqueMember: uniqueidentifier=118744,ou=people,dc=enterprise,dc=amgen,dc=com
uniqueMember: uniqueidentifier=17037,ou=people,dc=enterprise,dc=amgen,dc=com
uniqueMember: uniqueidentifier=6593,ou=people,dc=enterprise,dc=amgen,dc=com
owner: uniqueidentifier=118744,ou=people,dc=enterprise,dc=amgen,dc=com
objectClass: groupofuniquenames
objectClass: top
cn: ColumbusARG
LDAP is configured as shown below from the omero config get command
omero.data.dir=/u99/repository
omero.db.name=omero4_4
omero.db.pass=columbus
omero.db.patch=0
omero.db.poolsize=50
omero.db.user=columbus
omero.db.version=OMERO4.4
omero.ldap.base=dc=enterprise,dc=amgen,dc=com
omero.ldap.config=true
omero.ldap.new_user_group=ColumbusARG
omero.ldap.password=
omero.ldap.sync_on_login=true
omero.ldap.urls=ldap://ldap.amgen.com:389
omero.ldap.username=
omero.security.default_permissions=rwr---
omero.upgrades.url=http://0.0.0.0/
The same config is in the /usr/local/PerkinElmerCTG/Columbus2.4/etc/omero.properties file.
A group has been created in Omero called ColumbusARG as shown from the command
bin/omero group list
id | name | perms | # of owners | # of members
----+-------------+--------+-------------+--------------
0 | system | rw---- | 1 | 0
1 | user | rwr-r- | 0 | 4
2 | guest | rw---- | 0 | 1
3 | ARG | rwr--- | 1 | 2
53 | ColumbusARG | rwr--- | 0 | 0
The ColumbusARG group (containing 3 members) is also created on the Enterprise LDAP ( LDAPv3) server.
The Problem: The login fails when any of the 3 members try to login/authenticate to Omero. The error log
/usr/local/PerkinElmerCTG/Columbus2.4/var/log/Blitz-0.log show the failed login but does not mention anything to do with LDAP.
When I query the Enterprise LDAP server for the members of the group I get the following output indicating that the group is setup and contain the 3 members.
#ldapsearch -LLL -h ldap.amgen.com -p 389 -x -b dc=enterprise,dc=amgen,dc=com '(cn=ColumbusARG)'
dn: cn=ColumbusARG, ou=Gerb, ou=Applications, ou=Groups, dc=Enterprise,dc=amgen,dc=com
uniqueMember: uniqueidentifier=118744,ou=people,dc=enterprise,dc=amgen,dc=com
uniqueMember: uniqueidentifier=17037,ou=people,dc=enterprise,dc=amgen,dc=com
uniqueMember: uniqueidentifier=6593,ou=people,dc=enterprise,dc=amgen,dc=com
owner: uniqueidentifier=118744,ou=people,dc=enterprise,dc=amgen,dc=com
objectClass: groupofuniquenames
objectClass: top
cn: ColumbusARG