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] 

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/badc03d4-343f-4a18-87e9-710bd7aed98fn%40googlegroups.com.

Reply via email to