Hello
I have the following settings:
# enable LDAP
USE_LDAP = True
LDAP_SETTINGS = {
"mode": "uid", # Microsoft Active Directory
"server": "####.######.###", # FQDN or IP of one Domain Controller
"base_dn": "ou=users,dc=######,dc=###", # base dn, i.e. where the users are located
'user_firstname_attrib':'givenName',
'user_lastname_attrib':'sn',
'user_mail_attrib':'mail',
"tls":True,
'manage_user':True,
}
The fields 'user_firstname_attrib', 'user_lastname_attrib' are retrieved correctly, but the field 'user_mail_attrib' is not correctly fetched. The content of th field "uid"@
example.com will be returned and not the value that's stored in the directory. Any idea what's going wrong?
Many thanks
Stefan