Hi Everyone
Problem solved :)
The url needed to be in the form ldap.provider_url =
ldap://10.100.0.2:3268/<http://mail.google.com/mail/goog_1240385101348>
including the trailing backslash!
Clive
---------- Forwarded message ----------
From: clive gould <cli...@gmail.com>
Date: Wed, Apr 22, 2009 at 1:42 PM
Subject: HELP: DSpace 1.5.2 LDAP/AD login problem
To: DSpace-tech@lists.sourceforge.net
Hi
I'm trying to get DSpace to authenticate agains AD using the LDAP module
auth module.
I can successfully connect to AD using JXplorer and ldapsearch from the box
that DSpace is installed on.
In dspace.cfg the following line sets the URL for the LDAP server.
ldap.provider_url = 10.100.0.2:3268
When I try to authenticate from dspace I am told that my login is incorrect
and the following message appears in dspace.log
2009-04-22 13:25:18,897 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=EDC2D713BBC1D94088DC71DFDBA67964:ip_addr=10.100.0.1:auth:attempting
trivial auth of user=cliveg
2009-04-22 13:25:18,899 WARN
org.dspace.authenticate.LDAPHierarchicalAuthentication @ *
anonymous:session_id=EDC2D713BBC1D94088DC71DFDBA67964:ip_addr=10.100.0.1:ldap_authentication:type=failed_auth
javax.naming.NamingException\colon; Cannot parse url\colon;
10.100.0.2\colon;3268 [Root exception is
java.net.MalformedURLException\colon; Not an LDAP URL\colon;
10.100.0.2\colon;3268]*
2009-04-22 13:25:18,900 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=EDC2D713BBC1D94088DC71DFDBA67964:ip_addr=10.100.0.1:failed_login:no
DN found for user cliveg
2009-04-22 13:25:18,900 INFO org.dspace.app.webui.servlet.LDAPServlet @
anonymous:session_id=EDC2D713BBC1D94088DC71DFDBA67964:ip_addr=10.100.0.1:failed_login:netid=cliveg,
result=2
It rather looks to me as if the colon separating the IP address and the
port is being replaced by \colon;
What am I doing wrong please?
Thanks
Clive
Clive Gould
HE PAL ICT
Bromley College
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech