Env variables for LDAP configuration
Opened this issue · 1 comments
mtilson commented
- Add docker Env variables to be used to configure LDAP from command line (via
docker compose
) - References
mtilson commented
Added some automation in 5.0.2-1
- REDMINE_LDAP_OTF_USE_DISPLAY_NAME: Flag to use
displayName
for LDAP On-the-fly user creation as default for the first and last names. For 'Firstname attribute' the part ofdisplayName
before the first space character (true
and corresponding LDAP search for the specified in UI attributes return empty string. For 'Lastname attribute' the part ofdisplayName
after the last space character (true
and corresponding LDAP search for the specified in UI attributes return empty string. Defaults totrue
. - REDMINE_LDAP_OTF_MAIL_ATTR: LDAP 'Email attribute' default attribute for LDAP On-the-fly user creation. Used in another LDAP search if the corresponding LDAP search for the specified in UI attribute return empty string. Defaults to
userPrincipalName
. - REDMINE_LDAP_OTF_MAIL_DOMAIN: Used in LDAP On-the-fly user creation as e-mail domain suffix for the addreess returned by LDAP search for REDMINE_LDAP_OTF_MAIL_ATTR. If the returned by LDAP search e-mail address doesn't corresponds to a valid e-mail address and it has
@
character, the@suffix
part of the returned address is replaced by this variable. If the returned address doesn't have@
character then the@
character and this variable is added to the end of the returned address. Defaults toempty string
.