[bitnami/openldap] Release 2.6.3-debian-11-r72 (#22651)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-02-02 21:52:40 +01:00
committed by GitHub
parent 90f509216b
commit 47e08f4f6d
2 changed files with 2 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="2.6.3-debian-11-r71" \
org.opencontainers.image.ref.name="2.6.3-debian-11-r72" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/openldap" \
org.opencontainers.image.title="openldap" \
org.opencontainers.image.vendor="VMware, Inc." \

View File

@@ -150,18 +150,6 @@ ldap_validate() {
[[ "$error_code" -eq 0 ]] || exit "$error_code"
}
########################
# Check if OpenLDAP is ready to answer
# Arguments:
# None
# Returns:
# Whether slapd is ready to answer
#########################
is_ldap_ready() {
# shellcheck disable=SC2015
is_ldap_running && debug_execute ldapsearch -Y EXTERNAL -H "ldapi:///" -b cn=config -s base || false
}
########################
# Check if OpenLDAP is running
# Globals:
@@ -209,7 +197,7 @@ ldap_start_bg() {
ulimit -n "$LDAP_ULIMIT_NOFILES"
am_i_root && flags=("-u" "$LDAP_DAEMON_USER" "${flags[@]}")
debug_execute slapd "${flags[@]}" &
if ! retry_while is_ldap_ready "$retries" "$sleep_time"; then
if ! retry_while is_ldap_running "$retries" "$sleep_time"; then
error "OpenLDAP failed to start"
return 1
fi