Hi all,

with LDAPAuthentication one can get the mail attribute filled from LDAP.
If the LDAP server offers that attribute you don't have to set
netid_email_domain in authentication-ldap.cfg. 

But the following happens with DSpace 4.1: the email address received by
the LDAP server is always overwritten with the netid if
netid_email_domain is not set. It looks like this behavior was
introduced with the following commit:
https://github.com/DSpace/DSpace/commit/0a4ec51717e2f50b0c4e5005ca29b5083283f790#diff-41dc81f7e3e794a7e1eee66a27805c9c
(lines 261 to 264 ).
Deleting those lines fixes this and the email is attribute is correctly
filled with the value received from LDAP.

Is there anything I am missing here or is it really a bug?

Best regards,
Daniel


-- 
Daniel Scharon
KIM, Room B 705
University of Konstanz
78457 Konstanz, Germany

Tel: +49 7531 88-2951
XMPP/E-Mail: [email protected]
Web: http://www.kim.uni-konstanz.de

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
_______________________________________________
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