Skip to content

Commit

Permalink
corrected indents and added newline to the eof
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Voigt <21320859+Horstexplorer@users.noreply.github.com>
  • Loading branch information
Horstexplorer committed Aug 17, 2023
1 parent ee436c8 commit d2600c6
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
}
}

0 comments on commit d2600c6

Please sign in to comment.