Hi,
The values of the parameters are:

For Dspace 3.2

enable = true
autoregister = true
provider_url = ldap://AD-Server:389/
id_field = sAMAccountName
object_context =  dc=itcr,dc=ac,dc=cr
search_context = dc=itcr,dc=ac,dc=cr
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
##### Hierarchical LDAP Settings #####
search_scope = 2

search.user = cn=Usuario 
Biblioteca,ou=Usuarios-Aplicaciones,ou=CentroComputo,ou=Area 
Administrativa,ou=Cartago,ou=Usuario,dc=itcr,dc=ac,dc=cr
search.password = password
netid_email_domain = @itcr.ac.cr

For Dspace 4.0

enable = true
autoregister = true
provider_url = ldap://AD-Server:389/
id_field = sAMAccountName
object_context = dc=itcr,dc=ac,dc=cr
search_context = dc=itcr,dc=ac,dc=cr
email_field = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
##### Hierarchical LDAP Settings #####
search_scope = 2
search.user = cn=Usuario Biblioteca, ou=Usuarios-Aplicaciones, 
ou=CentroComputo, \
              ou=Area Administrativa, ou=Cartago, ou=Usuario,dc=itcr,dc=ac,dc=cr
search.password=password
netid_email_domain = @itcr.ac.cr

As you can see, the both configuration are identical but only in Dspace 3.2 
works fine.

Regards,

Ing. Oscar Sánchez G., MAE
Profesional en TI
Biblioteca José Figueres Ferrer
Instituto Tecnológico de Costa Rica
I  Tel: 2550-2135
   Fax: 2591-4820
F  Apdo Postal:  159-7050

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de helix84
Enviado el: martes, 25 de febrero de 2014 03:04 a.m.
Para: Oscar Sanchez Gomez
CC: [email protected]
Asunto: Re: [Dspace-tech] Using LDAP in Dspace 4.0

The change might be a consequence of this bugfix:
https://github.com/DSpace/DSpace/commit/88b9d8fe78bb990d777c315abb31dcd823a5a208

What were your values of id_field, email_field and netid_email_domain during 
the 3.2 and 4.0 results you shown above?


On Mon, Feb 24, 2014 at 5:34 PM, Oscar Sanchez Gomez 
<[email protected]<mailto:[email protected]>> wrote:
> In some mails of DSpace-tech about LDAP authentication I read that I
> can use the modules of previous version since there is no change in
> the plugin. Who can I do that in order to recover the functionality have in 
> 3.2?

You can copy the following files from the 3.x source to the 4.x source:
dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java
dspace/config/modules/authentication-ldap.cfg


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to