Hi,

Am 05.05.26 um 22:51 schrieb Guilherme Iepsen:
[…]

could you try "ldapsearch" (might to be installed first) ? You will find the params usually in [dspace]/config/modules/authentication-ldap.cfg .

ldapsearch -H <authentication-ldap.provider_url> -b <authentication-ldap.search_context> -D <authentication-ldap.search.user> -W -x "cn=<userid>"

You need the password from <authentication-ldap.search.password> for that. If this is an MS Active Directory, the attributes have different names (mostly "cn" is "samaccountname").

You should get a bunch of info about the user specified in "cn=<userid>" , mostly one or multiple "mail" attributes. The wanted one should be a single attribute called "userPreferredEmail" (or "USERPREFERREDEMAIL", its case insensitive).

Hope it helps,

Michael

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://lyrasis.org/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 visit 
https://groups.google.com/d/msgid/dspace-tech/331e3b03-4d5c-4d04-bb45-c7004e2fb3b1%40bibliothek.uni-kassel.de.

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur

Reply via email to