Hello, I have tried to configure LDAP and DSpace, but I have an error. Running DSPACE 6.3 onCentOS 7
Here are my settings(dspace/config/modules/authentication-ldap.cfg): authentication-ldap.enable = true authentication-ldap.autoregister = false authentication-ldap.provider_url = ldap://172.0.0.1:389/ authentication-ldap.id_field = uid authentication-ldap.object_context = ou=users\,dc=ucuenca\,dc=edu\,dc=ec authentication-ldap.search_context = ou=users\,dc=ucuenca\,dc=edu\,dc=ec authentication-ldap.email_field = mail authentication-ldap.surname_field = sn authentication-ldap.givenname_field = givenName authentication-ldap.login.specialgroup = ucuenca authentication-ldap.search_scope = 2 authentication-ldap.search.anonymous = false authentication-ldap.search.user = cn=admin\,dc=ucuenca\,dc=edu\,dc=ec authentication-ldap.search.password = pass authentication-ldap.netid_email_domain = @ucuenca.edu.ec authentication-ldap.login.groupmap.1 = ou=empleados:empleados authentication-ldap.login.groupmap.2 = ou=estudiantes:estudiantes I attached an image of the hierarchical tree. Also, I installed openldap. Here are some of my commandas: 1. [root@localhost ~]# ldapsearch -x -H ldap://172.0.0.1/389 -D cn=admin,dc=ucuenca,dc=edu,dc=ec -W -b *ou=users,dc=ucuenca,dc=edu,dc=ec* -z 10 cn mail sn *Example (1 of 10):* # sgp, empleados, users, ucuenca.edu.ec dn: *uid=example,ou=estudiantes,ou=users,dc=ucuenca,dc=edu,dc=ec* cn: Example mail: [email protected] sn: Example --- 2. [root@localhost ~]# ldapsearch -x -H ldap://172.16.0.13/389 -D cn=admin,dc=ucuenca,dc=edu,dc=ec -W -b *uid=pedro.tenezaca,ou=users,dc=ucuenca,dc=edu,dc=ec* -z 10 cn mail sn *Result* # extended LDIF # # LDAPv3 # base <uid=pedro.tenezaca,ou=users,dc=ucuenca,dc=edu,dc=ec> with scope subtree # filter: (objectclass=*) # requesting: cn mail sn # # search result search: 2 result: 32 *No such object* matchedDN: ou=users,dc=ucuenca,dc=edu,dc=ec --- [root@localhost ~]# ldapsearch -x -H ldap://172.16.0.13/389 -D cn=admin,dc=ucuenca,dc=edu,dc=ec -W -b *uid=pedro.tenezaca,ou=estudiantes,ou=users,dc=ucuenca,dc=edu,dc=ec* -z 10 cn mail sn *Result:* # extended LDIF # # LDAPv3 # base <uid=pedro.tenezaca,ou=estudiantes,ou=users,dc=ucuenca,dc=edu,dc=ec> with scope subtree # filter: (objectclass=*) # requesting: cn mail sn # # pedro.tenezaca, estudiantes, users, ucuenca.edu.ec dn: uid=pedro.tenezaca,ou=estudiantes,ou=users,dc=ucuenca,dc=edu,dc=ec cn: PEDRO ALEXANDER TENEZACA SARI mail: [email protected] sn: TENEZACA SARI # search result search: 2 result: 0 *Success* # numResponses: 2 # numEntries: 1 --- >From DSpace JSPUI, when I try to login with my user I get: auth:attempting trivial auth of [email protected] failed_login:no DN found for user [email protected] This is my problem, please help me solving it. Have a nice day. Att: Pedro -- Advertencia legal: Este mensaje y, en su caso, los archivos anexos son confidenciales, especialmente en lo que respecta a los datos personales, y se dirigen exclusivamente al destinatario referenciado. Si usted no lo es y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo, y que en todo caso se abstenga de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje y ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Las opiniones contenidas en este mensaje y en los archivos adjuntos, pertenecen exclusivamente a su remitente y no representan la opinión de la Universidad de Cuenca salvo que se diga expresamente y el remitente esté autorizado para ello. El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros. -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- 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 on the web visit https://groups.google.com/d/msgid/dspace-tech/d8133596-293f-43fd-947d-751bb82efa97%40googlegroups.com.
