diff --git a/start.sh b/start.sh index 8a2d74b06983152636b50a6253ba1f053ea9ec8e..b26dbb8549169b88e584f061ec98c613a258298e 100755 --- a/start.sh +++ b/start.sh @@ -261,9 +261,9 @@ case "${ACTION}" in ;; ldap) - if [[ -z "$ENABLE_SIMPLE" ]]; then - endpoints="ldap:///" - else + # Default slapd url + endpoints="ldap:///" + if [[ "$ENABLE_SIMPLE" = "yes" ]]; then endpoints="ldap:/// ldaps:///" # Simple bind needs saslauthd.