mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 05:27:22 +08:00
Merge pull request #96 from BlackRose01/patch-1
Replace is_boolean_no to is_boolean_yes
This commit is contained in:
@@ -474,7 +474,7 @@ ldap_initialize() {
|
||||
fi
|
||||
if ! is_dir_empty "$LDAP_CUSTOM_LDIF_DIR"; then
|
||||
ldap_add_custom_ldifs
|
||||
elif is_boolean_no "$LDAP_SKIP_DEFAULT_TREE"; then
|
||||
elif ! is_boolean_yes "$LDAP_SKIP_DEFAULT_TREE"; then
|
||||
ldap_create_tree
|
||||
else
|
||||
info "Skipping default schemas/tree structure"
|
||||
@@ -549,4 +549,4 @@ olcTLSDHParamFile: $LDAP_TLS_DH_PARAMS_FILE
|
||||
EOF
|
||||
fi
|
||||
debug_execute ldapmodify -Y EXTERNAL -H "ldapi:///" -f "${LDAP_SHARE_DIR}/certs.ldif"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user