Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion image/environment/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ LDAP_LOG_LEVEL: 256
LDAP_NOFILE: 1024

# Do not perform any chown to fix file ownership
DISABLE_CHOWN: false
DISABLE_CHOWN: false

# Default port to bind slapd
LDAP_PORT: 389
LDAPS_PORT: 636
2 changes: 1 addition & 1 deletion image/service/slapd/process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ log-helper level eq trace && set -x
# see https://github.com/docker/docker/issues/8231
ulimit -n $LDAP_NOFILE

exec /usr/sbin/slapd -h "ldap://$HOSTNAME ldaps://$HOSTNAME ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL
exec /usr/sbin/slapd -h "ldap://$HOSTNAME:$LDAP_PORT ldaps://$HOSTNAME:$LDAPS_PORT ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL