Seems to work. Thank you so much!

2015-04-08 9:04 GMT+01:00 Olivier Nicole <[email protected]>:

> Xerio,
> > We're running DSpace 4.1 along with the LDAP authentication system. This
> > works well except LDAP doesn't seem to find the correct e-mail address
> for
> > users.
>
> I think there is a patch to apply. You could have a look at:
> https://jira.duraspace.org/browse/DS-1781
>
> Best regards,
>
> olivier
>
> >
> > In config/modules/authentication-ldap.cfg we have:
> >
> > provider_usr = ldap://ldapserver
> > id_field = uid
> > object_context = cn=Users,dc=ldap,dc=com
> > email_field = usermail
> >
> > If I run the ldapsearch command in the term I can indeed get the email of
> > the user:
> >
> > dspace:mch# ldapsearch -H ldap://ldapserver -b 'cn=Users,dc=ldap,dc=com'
> -x
> > uid=xerio usermail
> >
> > # xerio, Users, ldap.com
> > dn: uid=xerio,cn=Users,dc=ldap,dc=com
> > usermail: [email protected]
> >
> > # search result
> > search: 2
> > result: 0 Success
> >
> > # numResponses: 2
> > # numEntries: 1
> >
> > However, DSpace seems to try to send the e-mail to=<xerio> (the username)
> > instead. Is there a way how can I debug this further or any hint about
> what
> > could be wrong?
> >
> > Thanks.
> >
> > [1/2:text/html Show]
> >
> >
> > [2:text/plain Hide]
> >
> >
> ------------------------------------------------------------------------------
> > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> > Develop your own process in accordance with the BPMN 2 standard
> > Learn Process modeling best practices with Bonita BPM through live
> exercises
> > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> >
> > [3:text/plain Hide]
> >
> > _______________________________________________
> > 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
>
> --
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
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