Hi,
I want to use DSpace 3.1 with AD (Debian 6, Tomcat 6.0.36). I have:
config/modules/authentication-ldap.cfg:
enable = true
autoregister = true
provider_url = ldap://IP:389/
id_field = cn
object_context = OU=Users,OU=Name Of Organization,DC=com
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
login.specialgroup = usersfromldap
search_scope = 2
search.anonymous = false
search.user = CN=LASTNAME Firstname,OU=Users,OU=Name Of Organization,DC=com
search.password = XXX
The following works from terminal:
ldapsearch -x -LLL -D "[email protected]" -w 'XXX' -b "CN=LASTNAME
Firstname,OU=Users,OU=Name Of Organization,DC=com" -s sub -H
dspace.log.<date>:
<DATE> INFO org.dspace.authenticate.LDAPAuthentication @
anonymous:session_id=0F9CC2198C182E229D9E3A98CF5B9DC1:ip_addr=<IP>:auth:attempting
trivial auth of [email protected]
<DATE> WARN org.dspace.authenticate.LDAPAuthentication @
anonymous:session_id=0F9CC2198C182E229D9E3A98CF5B9DC1:ip_addr=<IP>:ldap_attribute_lookup:type=failed_search
javax.naming.InvalidNameException\colon; null\colon; [LDAP\colon; error
code 34 - 0000208F\colon; NameErr\colon; DSID-031001F7, problem 2006
(BAD_NAME), data 8350, best match of\colon;
'null'
^@]; remaining name 'null'
<DATE> INFO org.dspace.authenticate.LDAPAuthentication @
anonymous:session_id=0F9CC2198C182E229D9E3A98CF5B9DC1:ip_addr=<IP>:failed_login:no
DN found for user [email protected]
<DATE> INFO org.dspace.app.xmlui.utils.AuthenticationUtil @
anonymous:session_id=0F9CC2198C182E229D9E3A98CF5B9DC1:ip_addr=<IP>:failed_login:email=
[email protected], realm=null, result=2
Escaping the empty spaces in search.user and object_context with "\" didn't
help. What's happening?
Thanks,
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette