Hi there,
Here is some additional information from the log file. One line seems to
be particularly strange:
*"Root exception is java.net.UnknownHostException\colon;
edir.vcu.eduou=people,dc=vcu,dc=edu"
*
Should there be something to separate the host (edir.vcu.edu) and ou?*
*
From the log:
"2010-08-17 07:27:12,553 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=9AE8EA74BB93258FA54E92D760192BB1:ip_addr=128.172.25.199:auth:attempting
trivial auth of user=xyu
2010-08-17 07:27:12,664 WARN
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=9AE8EA74BB93258FA54E92D760192BB1:ip_addr=128.172.25.199:ldap_attribute_lookup:type=failed_search
javax.naming.CommunicationException\colon;
edir.vcu.eduou=people,dc=vcu,dc=edu\colon;389 [Root exception is
java.net.UnknownHostException\colon; edir.vcu.eduou=people,dc=vcu,dc=edu]
2010-08-17 07:27:12,665 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=9AE8EA74BB93258FA54E92D760192BB1:ip_addr=128.172.25.199:failed_login:no
DN found for user xyu
2010-08-17 07:27:12,665 INFO org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=9AE8EA74BB93258FA54E92D760192BB1:ip_addr=128.172.25.199:failed_login:netid=xyu,
result=2
2010-08-17 07:27:12,665 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui] @
servletPath=/login/incorrect.jsp, pathInfo=null, queryString=null,
name=null"
My previous message:
==================================================================
We have upgraded from 1.42 to 1.6. But LDAP does not work. I think I
followed exactly what is said in the manual. Just could not figure out
what's wrong.
Our LDAP configuration in dspace.cfg is:
"plugin.sequence.org.dspace.eperson.AuthenticationMethod = \
org.dspace.eperson.X509Authentication, \
org.dspace.eperson.LDAPAuthentication
webui.ldap.autoregister = true
ldap.enable = true
ldap.provider_url = ldap://edir.vcu.edu
ldap.id_field = uid
ldap.object_context = ou=people,dc=vcu,dc=edu
ldap.search_context = ou=people,dc=vcu,dc=edu
ldap.email_field = mail
ldap.surname_field = sn
ldap.givenname_field = givenName
ldap.phone_field = telephoneNumber"
In the log file:
"2010-08-12 07:57:51,162 INFO
org.dspace.authenticate.PasswordAuthentication @
anonymous:session_id=F2705F1505EE64EBC8C56BF92FBE7E95:ip_addr=128.172.25.227:authenticate:attempting
password auth of user=xyu
2010-08-12 07:57:51,185 INFO org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=F2705F1505EE64EBC8C56BF92FBE7E95:ip_addr=128.172.25.227:failed_login:netid=xyu,
result=4"
When trying to log in (http://uls-linux17.uls.vcu.edu/jspui/ldap-login),
I got the message:
*"The e-mail address and password you supplied were not valid."*
We had LDAP working in version 1.42. So the above configuration should
be correct.
Any suggestion?
Thanks.
Shaw
VCU Libraries
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech