Hello,
I would like users to connect to mantis using their upn (that is the email adress in the active directory) intead of their username.
I've tried to replace $g_ldap_uid_field = 'sAMAccountName'; with $g_ldap_uid_field = 'userPrincipalName' but i get errors due to the ldap_cache_user_data() function and then the authentication failed.
Is there a way to achieve this fonctionnality without modifing the core functions of mantis?
Thanks for your help.
LDAP authentication with upn (userPrincilName)
Moderators: Developer, Contributor