Archived
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35904aa284 | ||
|
|
3ae806c51f | ||
|
|
1e2512c998 | ||
|
|
9531804222 | ||
|
|
faeb220686 | ||
|
|
987d044727 | ||
|
|
ba0b83ad27 | ||
|
|
ccaf1cf6bc | ||
|
|
e303d10740 |
@@ -47,7 +47,7 @@ if [ ! -e /etc/ldap/config/docker_bootstrapped ]; then
|
||||
status "Custom config"
|
||||
|
||||
slapd -h "ldapi:///" -u openldap -g openldap
|
||||
chown -R openldap:openldap /etc/ldap
|
||||
chown -R openldap:openldap /etc/ldap
|
||||
|
||||
# TLS
|
||||
if [ -e /etc/ldap/ssl/ldap.crt ] && [ -e /etc/ldap/ssl/ldap.key ] && [ -e /etc/ldap/ssl/ca.crt ]; then
|
||||
@@ -85,4 +85,6 @@ fi
|
||||
|
||||
status "starting slapd on default port 389"
|
||||
set -x
|
||||
exec /usr/sbin/slapd -h "ldap:///" -u openldap -g openldap -d -1
|
||||
#with debug:
|
||||
#exec /usr/sbin/slapd -h "ldap:///" -u openldap -g openldap -d -1
|
||||
exec /usr/sbin/slapd -h "ldap:///" -u openldap -g openldap
|
||||
Reference in new issue
Block a user