Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable SimpleAuth for Active Directory #3909

Merged
merged 8 commits into from Jul 24, 2021
Merged

enable SimpleAuth for Active Directory #3909

merged 8 commits into from Jul 24, 2021

Conversation

indika-dev
Copy link

@indika-dev indika-dev commented Jul 22, 2021

Hi to all,

as the title describes, this PR enables Wekan to use SimpleAuth against Active Directory.

There is a new configuration option:

  • LDAP_AD_SIMPLE_AUTH=true/false
    enable or disable login with SimpleAuth for AD

The following configuration option has an additional use case:

  • LDAP_DEFAULT_DOMAIN=the default domain to be used for creating the userDN

With both configuration options, a different userDN is constructed in the following way:

userDN = given loginname + '@' + default domain
The bind request to AD is then the same as the bind request to an LDAP server.

An example:
`

  1. LDAP_AD_SIMPLE_AUTH=true
    LDAP_DEFAULT_DOMAIN=mycompany.com

  2. user tries to login with username "user1"

  3. a bind request to AD is sent with the following userDN: user1@mycompany.com
    `


This change is Reviewable

@xet7 xet7 merged commit c0d1ed7 into wekan:master Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants