Page 1 of 1

ldap in Omero 4.2

PostPosted: Thu Oct 07, 2010 3:15 pm
by heg
Hi,

I am configuring ldap in a cleanly installed omero 4.2 without success. I monitor the communication between the omero server and the ldap server and I see the following conversation occurring 4 times when I try to login through the webclient:

omero->ldap bindRequest(1)
ldap -> omero bindResponse(1)
omero ->ldap searchRequest(2)
ldap -> omero searchResEntry(2)

The last package contains all the user info, indicating that finding the user works.

However, the webclient shows
Error: Client version does not match server, please contact administrator.

which indicates that the authentication did not work.

In var/log/Blitz-0.log

2010-10-07 15:52:24,805 INFO [ ome.services.util.ServiceHandler] (l.Server-7) Excp: org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name ''
ome.conditions.InternalException: Wrapped Exception: (org.springframework.ldap.PartialResultException):
at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:203)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:315)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:259)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:606)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:524)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:473)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:493)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:513)



Any ideas,

Thanks in advance,

Hernan

Re: ldap in Omero 4.2

PostPosted: Thu Oct 14, 2010 3:21 pm
by jmoore
Hi Hernan,

could you perhaps upload the entire Blitz-0.log?

Thanks,
~Josh

Re: ldap in Omero 4.2

PostPosted: Fri Oct 15, 2010 9:55 am
by heg
Hi Josh,

I have attached to this mail a zip file containing the Blitz-0.log and wire.log (the wireshark log that shows that proper communication with LDAP is achieved).

Before getting this log, I stopped omero, delete all logs and started omero and the webserver again. I tried to log via the web interface (webadmin) and also via the webclient (not in the logs)

Thanks in advance,

Hernan

Re: ldap in Omero 4.2

PostPosted: Tue Oct 19, 2010 12:47 pm
by cxallan
I'm going to assume based on the error that this is Active Directory and that you and/or your system administrators have a referral based schema and a multiple server AD deployment?

Would it also be possible to see bin/omero config get please?