From ce072f459f8f3be846a2ce2c5849d703bc0dac82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Siqueira=20Prado?= <71544366+flavio-prado@users.noreply.github.com> Date: Wed, 5 May 2021 20:59:48 +0300 Subject: [PATCH] settings: Configure LDAP group settings as arrays. Currently LDAP group settings are being treat as string, they should be treated as array so we could configure it correctly while executing on `docker` or `kubernetes`. --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 01932c35f3..5ec97df29a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -268,8 +268,11 @@ zulipConfiguration() { # Zulip settings.py / zproject specific overrides here if [ "$setting_key" = "AUTH_LDAP_CONNECTION_OPTIONS" ] || \ [ "$setting_key" = "AUTH_LDAP_USER_SEARCH" ] || \ + [ "$setting_key" = "AUTH_LDAP_GROUP_SEARCH" ] || \ [ "$setting_key" = "AUTH_LDAP_REVERSE_EMAIL_SEARCH" ] || \ [ "$setting_key" = "AUTH_LDAP_USER_ATTR_MAP" ] || \ + [ "$setting_key" = "AUTH_LDAP_USER_FLAGS_BY_GROUP" ] || \ + [ "$setting_key" = "AUTH_LDAP_GROUP_TYPE" ] || \ { [ "$setting_key" = "LDAP_APPEND_DOMAIN" ] && [ "$setting_var" = "None" ]; } || \ [ "$setting_key" = "SECURE_PROXY_SSL_HEADER" ] || \ [[ "$setting_key" = "CSRF_"* ]] || \