Skip to content
Snippets Groups Projects
Commit 035d7266 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Update start.sh to open ldaps port as well to support ldap+TLS.

parent 3094d79b
No related branches found
No related tags found
No related merge requests found
...@@ -265,11 +265,9 @@ case "${ACTION}" in ...@@ -265,11 +265,9 @@ case "${ACTION}" in
;; ;;
ldap) ldap)
# Default slapd url # Default slapd url, we should open ldaps as well for ldap+TLS
endpoints="ldap:///" endpoints="ldap:/// ldaps:///"
if [[ "$ENABLE_SIMPLE" = "yes" ]]; then if [[ "$ENABLE_SIMPLE" = "yes" ]]; then
endpoints="ldap:/// ldaps:///"
# Simple bind needs saslauthd. # Simple bind needs saslauthd.
# Put the process PID in /var/run/saslauthd. # Put the process PID in /var/run/saslauthd.
KRB5_KTNAME=/etc/krb5.keytab /usr/sbin/saslauthd -O /etc/saslauthd.conf \ KRB5_KTNAME=/etc/krb5.keytab /usr/sbin/saslauthd -O /etc/saslauthd.conf \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment