mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-10-24 00:23:45 +00:00
Write AUTH_LDAP_GLOBAL_OPTIONS as array.
This is required for connecting to a LDAPS server without validating certificators:
```
SETTING_AUTH_LDAP_GLOBAL_OPTIONS: "{ ldap.OPT_X_TLS_REQUIRE_CERT: ldap.OPT_X_TLS_NEVER }"
```
Using `SETTING_AUTH_LDAP_CONNECTION_OPTIONS` doesn't work.
This commit is contained in:
@@ -267,6 +267,7 @@ zulipConfiguration() {
|
|||||||
fi
|
fi
|
||||||
# Zulip settings.py / zproject specific overrides here
|
# Zulip settings.py / zproject specific overrides here
|
||||||
if [ "$setting_key" = "AUTH_LDAP_CONNECTION_OPTIONS" ] || \
|
if [ "$setting_key" = "AUTH_LDAP_CONNECTION_OPTIONS" ] || \
|
||||||
|
[ "$setting_key" = "AUTH_LDAP_GLOBAL_OPTIONS" ] || \
|
||||||
[ "$setting_key" = "AUTH_LDAP_USER_SEARCH" ] || \
|
[ "$setting_key" = "AUTH_LDAP_USER_SEARCH" ] || \
|
||||||
[ "$setting_key" = "AUTH_LDAP_GROUP_SEARCH" ] || \
|
[ "$setting_key" = "AUTH_LDAP_GROUP_SEARCH" ] || \
|
||||||
[ "$setting_key" = "AUTH_LDAP_REVERSE_EMAIL_SEARCH" ] || \
|
[ "$setting_key" = "AUTH_LDAP_REVERSE_EMAIL_SEARCH" ] || \
|
||||||
|
|||||||
Reference in New Issue
Block a user