Dear Dspace community:

In our testing environment we have dspace 3.2 and we would like to 
authenticate using our Active Directory. But authentication fails using 
both xmlui and jspui.
If we try ldapbind command, it works fine.

This is our authentication-ldap.cfg file:

enable = true
autoregister = false
provider_url = ldap://ad.mydomain.cl:389/
id_field = sAMAccountName
object_context = DC=mydomain,DC=cl
search_context = DC=mydomain,DC=cl
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
search.anonymous = true
search_scope = 2
search.user = CN=admin_user,CN=Users,DC=mydomain,DC=cl
search.password = admin_passwd

And this is part of LOG file:

2014-01-14 05:12:18,045 INFO 
org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=7D2495B4351B0D3D30EF4584F1FA0567:ip_addr=111.11.111.111:authenticate:attempting
 
password auth of user=existing_user
2014-01-14 05:12:18,047 INFO org.dspace.authenticate.LDAPAuthentication 
@ 
anonymous:session_id=7D2495B4351B0D3D30EF4584F1FA0567:ip_addr=111.11.111.111:auth:attempting
 
trivial auth of user=existing_user
2014-01-14 05:12:18,051 WARN org.dspace.authenticate.LDAPAuthentication 
@ 
anonymous:session_id=7D2495B4351B0D3D30EF4584F1FA0567:ip_addr=111.11.111.111:ldap_authentication:type=failed_auth
 
javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 
80090308\colon; LdapErr\colon; DSID-0C090334, comment\colon; 
AcceptSecurityContext error, data 525, vece]
2014-01-14 05:12:18,051 INFO org.dspace.authenticate.LDAPAuthentication 
@ 
anonymous:session_id=7D2495B4351B0D3D30EF4584F1FA0567:ip_addr=111.11.111.111:failed_login:no
 
DN found for user existing_user
2014-01-14 05:12:18,051 INFO org.dspace.app.webui.servlet.LDAPServlet @ 
anonymous:session_id=7D2495B4351B0D3D30EF4584F1FA0567:ip_addr=111.11.111.111:failed_login:netid=existing_user,
 
result=2

Any advice would be very appreciated.

-- 
Álvaro Sandoval Pizarro

BCN, Biblioteca del Congreso Nacional de Chile
Jefe de Servicios y Sistemas de Información en Red
Fono (5632) 226 3981

http://www.bcn.cl/


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to