Hi Bryan

Try to adjust your "authentication.cfg" to the following. So, you have only one 
"plugin.sequence.org.dspace.authenticate.AuthenticationMethod" parameter. I 
have this working on ver 6.3. You have a double parameter in your case so I am 
not sure if DSpace considers the last entry only.

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
        
org.dspace.authenticate.LDAPAuthentication,org.dspace.authenticate.PasswordAuthentication


Regards
________________________________
From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf of 
Bryan Delgado <bryand...@gmail.com>
Sent: 27 October 2022 02:29
To: DSpace Technical Support <dspace-tech@googlegroups.com>
Subject: [dspace-tech] can´t connect ldap

Hello comunity, Im new in dspace and after a lot of search in google and a lot 
of click finally I put in march Dspace but I can´t configure ldap. I testing 
ldapsearch and work fine. I have a production enviroment workin in one host 
(back and front)

This is my configuration in authentication.cfg (both pugins are enable)

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

This is my configuration in authentication-ldap.cfg

authentication-ldap.enable = true

authentication-ldap.autoregister = true

authentication-ldap.provider_url = ldap://1.2.2.4:389

authentication-ldap.id_field = sAMAccountName

authentication-ldap.object_context = "OU=All MyOU\,DC=mydomain\,DC=com"

authentication-ldap.search_context = "OU= All MyOU\,DC=mydomain\,DC=com"

authentication-ldap.email_field = mail

authentication-ldap.givenname_field = givenName

authentication-ldap.search_scope = 2

authentication-ldap.search.user = "CN=Ldap User\,OU=Service Users\,OU=All 
MyOU\,DC=mydomain\,DC=com"
authentication-ldap.search.password = xxxxxxxx



What data should I put in the fields in the attached image? The email? username?

[Captura.JPG]


Any help is appreciated

--
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 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7964ff96-736f-4b59-94aa-22bdb6b813e4n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/7964ff96-736f-4b59-94aa-22bdb6b813e4n%40googlegroups.com?utm_medium=email&utm_source=footer>.

CAUTION -EXTERNAL SENDER: Please be careful when opening links and attachments. 
UNAM Directorate: Information & Communication Technology Services (DICTS)

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/PA4PR04MB7600AA57A9430256DEA73D99C4339%40PA4PR04MB7600.eurprd04.prod.outlook.com.

Reply via email to