Skip to content

Commit 98c827b

Browse files
committed
Support for ldaps
1 parent 5d6fd3e commit 98c827b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ ADD service/slapd/daemon.sh /etc/service/slapd/run
2828
# Set OpenLDAP data and config directories in a data volume
2929
VOLUME ["/var/lib/ldap", "/etc/ldap/slapd.d"]
3030

31-
# Expose ldap default port
32-
EXPOSE 389
31+
# Expose default ports for ldap and ldaps
32+
EXPOSE 389 636

image/service/slapd/daemon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# see https://github.com/docker/docker/issues/8231
66
ulimit -n 1024
77

8-
exec /usr/sbin/slapd -h "ldap:/// ldapi:///" -u openldap -g openldap -d "$LDAP_LOG_LEVEL"
8+
exec /usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u openldap -g openldap -d "$LDAP_LOG_LEVEL"

0 commit comments

Comments
 (0)