diff --git a/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh b/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh index 4ac5233bdf288..500dd2b2a21c7 100644 --- a/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh +++ b/bitnami/openldap/2.6/debian-11/rootfs/opt/bitnami/scripts/libopenldap.sh @@ -622,10 +622,10 @@ ldap_initialize() { fi # enable tls if is_boolean_yes "$LDAP_ENABLE_TLS"; then - ldap_configure_tls - if is_boolean_yes "$LDAP_REQUIRE_TLS"; then - ldap_configure_tls_required - fi + ldap_configure_tls + if is_boolean_yes "$LDAP_REQUIRE_TLS"; then + ldap_configure_tls_required + fi fi ldap_stop fi @@ -775,7 +775,7 @@ olcPPolicyHashCleartext: TRUE EOF debug_execute ldapmodify -Q -Y EXTERNAL -H "ldapi:///" -f "${LDAP_SHARE_DIR}/ppolicy_configuration_hash_cleartext.ldif" fi - # enable ppolicy_use_lockout + # enable ppolicy_use_lockout if is_boolean_yes "$LDAP_PPOLICY_USE_LOCKOUT"; then info "Enabling ppolicy_use_lockout" cat > "${LDAP_SHARE_DIR}/ppolicy_configuration_use_lockout.ldif" << EOF @@ -806,4 +806,4 @@ add: olcPasswordHash olcPasswordHash: $LDAP_PASSWORD_HASH EOF debug_execute ldapmodify -Y EXTERNAL -H "ldapi:///" -f "${LDAP_SHARE_DIR}/password_hash.ldif" -} \ No newline at end of file +}