|
|
@@ -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"
|