iris-web
iris-web copied to clipboard
Ldap groups
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.