File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 44 - Upgrade baseimage: osixia/light-baseimage:0.1.1
55 - Rename environment variables
66
7+ - Fixes :
8+ - OpenLdap container won't start when dhparam.pem is missing in bound volume #13
9+
710## 1.0.0
811 - Use light-baseimage
912 - Improve documentation
Original file line number Diff line number Diff line change 1- # general container configuration
1+ # General container configuration
22# see table 5.1 in http://www.openldap.org/doc/admin24/slapdconf2.html for the available log levels.
33LDAP_LOG_LEVEL : 256
44
5- # required and used for new ldap server only
5+ # Required and used for new ldap server only
66LDAP_ORGANISATION : Example Inc.
77LDAP_DOMAIN : example.org
88LDAP_ADMIN_PASSWORD : admin
99LDAP_CONFIG_PASSWORD : config
1010
11- # tls
11+ # Tls
1212LDAP_TLS : true
1313LDAP_TLS_CRT_FILENAME : ldap.crt
1414LDAP_TLS_KEY_FILENAME : ldap.key
1515LDAP_TLS_CA_CRT_FILENAME : ca.crt
1616
17- # replication
17+ # Replication
1818LDAP_REPLICATION : false
1919# variables $LDAP_BASE_DN, $LDAP_ADMIN_PASSWORD, $LDAP_CONFIG_PASSWORD
2020# are automaticaly replaced at run time
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ WAS_STARTED_WITH_REPLICATION="/etc/ldap/slapd.d/docker-openldap-was-started-with
99# see https://github.com/docker/docker/issues/8231
1010ulimit -n 1024
1111
12- # fix file permissions
12+ # fix file permissions
1313chown -R openldap:openldap /var/lib/ldap
1414chown -R openldap:openldap /etc/ldap
1515chown -R openldap:openldap /container/service/slapd
150150
151151 fi
152152
153- # TLS config
153+ # tls config
154154 if [ " ${LDAP_TLS,,} " == " true" ]; then
155155
156156 echo " Use TLS"
203203 for host in " ${LDAP_REPLICATION_HOSTS[@]} "
204204 do
205205
206- # host var contain a variable name, we access to the variable value
206+ # host var contain a variable name, we access to the variable value
207207 host=${! host}
208208
209209 sed -i " s|{{ LDAP_REPLICATION_HOSTS }}|olcServerID: $i ${host} \n{{ LDAP_REPLICATION_HOSTS }}|g" /container/service/slapd/assets/config/replication/replication-enable.ldif
You can’t perform that action at this time.
0 commit comments