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

Ldap groups #319

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Ldap groups #319

wants to merge 12 commits into from

Conversation

c8y3
Copy link
Contributor

@c8y3 c8y3 commented Oct 13, 2023

This is an improvement to ldap authentication. The purposes of this pull request are:

  • introduction of a bind account in order to emit requests to the ldap (rather than use the user's account),
  • synchronization of groups declared in ldap with groups in IRIS.

The following variables are added to the .env:

  • LDAP_BIND_DN: distinguished name of the bind account
  • LDAP_BIND_PASSWORD: password of the bind account
  • LDAP_GROUP_BASE_DN: distinguished name for the group names

More precisely, when the flag AUTHENTICATION_CREATE_USER_IF_NOT_EXIST is set, then the groups of the user will be synchronized with the groups that are present in its memberOf field in ldap and which also have LDAP_GROUP_BASE_DN as base.

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

1 participant