Skip to content

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.

1 participant