Browse Source

fix ldaps port

Bertrand Gouny 5 years ago
parent
commit
7f3ed05ebb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      image/service/slapd/process.sh

+ 1 - 1
image/service/slapd/process.sh

@@ -12,5 +12,5 @@ ulimit -n $LDAP_NOFILE
 # Call hostname to determine the fully qualified domain name. We want OpenLDAP to listen
 # to the named host for the ldap:// and ldaps:// protocols.
 FQDN="$(/bin/hostname --fqdn)"
-HOST_PARAM="ldap://$FQDN:$LDAP_PORT ldaps://$FQDN:$LDAP_PORT"
+HOST_PARAM="ldap://$FQDN:$LDAP_PORT ldaps://$FQDN:$LDAPS_PORT"
 exec /usr/sbin/slapd -h "$HOST_PARAM ldapi:///" -u openldap -g openldap -d "$LDAP_LOG_LEVEL"