Bertrand Gouny 5 anni fa
parent
commit
7f3ed05ebb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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"