Skip to content

Commit 4b20fa5

Browse files
authored
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.
1 parent ee46776 commit 4b20fa5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ zulipConfiguration() {
267267
fi
268268
# Zulip settings.py / zproject specific overrides here
269269
if [ "$setting_key" = "AUTH_LDAP_CONNECTION_OPTIONS" ] || \
270+
[ "$setting_key" = "AUTH_LDAP_GLOBAL_OPTIONS" ] || \
270271
[ "$setting_key" = "AUTH_LDAP_USER_SEARCH" ] || \
271272
[ "$setting_key" = "AUTH_LDAP_GROUP_SEARCH" ] || \
272273
[ "$setting_key" = "AUTH_LDAP_REVERSE_EMAIL_SEARCH" ] || \

0 commit comments

Comments
 (0)