LDAP authentication

16 views
Skip to first unread message

Dhiemeson Nascimento

unread,
Oct 2, 2025, 11:11:46 AM (9 days ago) Oct 2
to DSpace Technical Support
Good morning,

I'm using dspace 8 and password authentication is working normally. I need to enable the LDAP configuration. In my authentication.cfg file, I've enabled:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.LDAPAuthentication

In my authenticator-ldap.cfg file, it looks like this:

authentication-ldap.enable = true
authentication-ldap.autoregister = true
authentication-ldap.provider_url = ldap://alap.local:389/
authentication-ldap.id_field = sAMAccountName

authentication-ldap.search_context = dc=alap\,dc=local

authentication-ldap.email_field = mail
authentication-ldap.givenname_field = givenName

authentication-ldap.login = CN=Serviço DSpace,CN=Users,DC=alap,DC=local
authentication-ldap.password = senha_aqui

authentication-ldap.search.anonymous = false
authentication-ldap.search_scope = 2
authentication-ldap.search.password = password



Does anyone have any idea what this could be?

Using ldapsearch, I can authenticate normally, but when I try using dspace, I get this error.

2025-10-02 11:27:58,099 INFO  unknown unknown org.dspace.authenticate.LDAPAuthentication @ anonymous::auth:attempting trivial auth of user=meu_usuario
2025-10-02 11:27:58,110 WARN  unknown unknown org.dspace.authenticate.LDAPAuthentication @ anonymous::ldap_authentication:type=failed_auth javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 80090308\colon; LdapErr\colon; DSID-0C09050F, comment\colon; AcceptSecurityContext error, data 52e, v4f7c] 
Reply all
Reply to author
Forward
0 new messages