-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Closed
Copy link
Labels
Description
Describe the bug
The Mapping "LDAP Mapping: DN to User Path" uses the attribute "distinguishedName". This is only available on Active Directory.
Using this property mapping on e.g. OpenLDAP will cause it to cause an exception on every user (and therefore send two mails per user to the admins).
To Reproduce
Activate the property mapping "LDAP Mapping: DN to User Path" with OpenLDAP
Expected behavior
An "LDAP" mapping should work on all LDAP servers.
Logs
TypeError: argument of type 'NoneType' is not iterable
Version and Deployment (please complete the following information):
- authentik version: 2023.10.7
- Deployment: docker-compose
Additional context
https://superuser.com/questions/1652940/ldap-filter-to-search-for-a-dn
Ideas
- The mapping should probably be renamed to "Active Directory Mapping"
- There should be safeguards if the value is None
Reactions are currently unavailable