Is your enhancement request related to a problem? Please describe.
We have a complex structure in our Active Directory, which means that not all our users can be found under a single organisational unit. Currently, the implementation of django-auth-ldap in Dejacode only supports searching within a single organisational unit, which would mean that not all users are found and therefore cannot log in to Dejacode and use the system.
https://dejacode.readthedocs.io/en/latest/application-settings.html#user-dn
What are the benefits of the requested enhancement?
As it is a common ‘problem’ that the structure within an Active Directory in companies becomes large and complex, I am probably not the only one encountering this.
The extension offers greater flexibility when using LDAP integration in large organisations.
Describe the solution you would like
I would like to see an implementation of https://django-auth-ldap.readthedocs.io/en/stable/authentication.html#search-unions.
|
AUTH_LDAP_USER_SEARCH = LDAPSearch(AUTH_LDAP_USER_DN, ldap.SCOPE_SUBTREE, AUTH_LDAP_USER_FILTERSTR) |
Is your enhancement request related to a problem? Please describe.
We have a complex structure in our Active Directory, which means that not all our users can be found under a single organisational unit. Currently, the implementation of django-auth-ldap in Dejacode only supports searching within a single organisational unit, which would mean that not all users are found and therefore cannot log in to Dejacode and use the system.
https://dejacode.readthedocs.io/en/latest/application-settings.html#user-dn
What are the benefits of the requested enhancement?
As it is a common ‘problem’ that the structure within an Active Directory in companies becomes large and complex, I am probably not the only one encountering this.
The extension offers greater flexibility when using LDAP integration in large organisations.
Describe the solution you would like
I would like to see an implementation of https://django-auth-ldap.readthedocs.io/en/stable/authentication.html#search-unions.
dejacode/dejacode/settings.py
Line 770 in d12d2d0