We are getting error:
32 LDAP_NO_SUCH_OBJECT 20 No such object The specified object does
not exist in the directory.
I put some displays in LDAPServlet.java and here is what I'm getting when I try
to enter my username (it's in a field called "agencyUID"):
2009-10-26 09:28:22,278 INFO org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=567AE3ACFD839A70BE84ED443557B907:ip_addr=xxxxxxxxxx:login:type=ldap,netid=suethorn
2009-10-26 09:28:22,302 INFO org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=567AE3ACFD839A70BE84ED443557B907:ip_addr=xxxxxxxxxx:display:security_principal=ou=people,dc=nasa,dc=gov
2009-10-26 09:28:22,311 INFO org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=567AE3ACFD839A70BE84ED443557B907:ip_addr=xxxxxxxxxx:login:type=ldap_search_context
=ou=people,dc=nasa,dc=gov
2009-10-26 09:28:22,311 WARN org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=567AE3ACFD839A70BE84ED443557B907:ip_addr=xxxxxxxxxx:ldap_authentication:type=failed_auth
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
This is a critical project we should have had implemented weeks ago...and we're
at a loss so any help you can provide would really be appreciated. I've tried
everything I know to try. One last question - should I be able to see where
the password is stored thru the ldap browser? I don't see an actual password
field there.
Thanks,
Sue
-----Original Message-----
From: Mark H. Wood [mailto:[email protected]]
Sent: Friday, October 23, 2009 12:14 PM
To: [email protected]
Subject: Re: [Dspace-tech] Can't get LDAP to work in DSpace 1.5.1 - Please HELP!
Please tell us in what way it fails to work. (Doesn't authenticate;
authenticates but doesn't auto-register; something else) What errors
might DSpace be logging when you try this?
Hmmm, yes, if the DN is built using employeenumber and you tell DSpace
that the unique identifier is agencyUID, that could be a problem.
It's going to use agencyUID=someone to bind to the directory in order
to validate credentials, and that isn't the name of the object. If
you need to provide logon by agencyUID then you're going to need to be
able to tell the code to look up by one attribute but form the binding
DN using another, having looked up the object by the former and
retrieved the latter. I don't see that DSpace can do that yet.
--
Mark H. Wood, Lead System Programmer [email protected]
Friends don't let friends publish revisable-form documents.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech