Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Enhancement request: Add support to search within multiple organisational units in ldap #533

Copy link
Copy link

Description

@nicoklaus
Issue body actions

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)

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    design neededDesign details needed to complete the issueDesign details needed to complete the issueenhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.