You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -119,7 +166,7 @@ Environement variables defaults are set in **image/env.yml**. You can modify env
119
166
General container configuration :
120
167
-**LDAP_LOG_LEVEL**: Slap log level. defaults to `-1`. See table 5.1 in http://www.openldap.org/doc/admin24/slapdconf2.html for the available log levels.
121
168
122
-
Required for new ldap server :
169
+
Required and used for new ldap server only :
123
170
-**LDAP_ORGANISATION**: Organisation name. Defaults to `Example Inc.`
124
171
-**LDAP_DOMAIN**: Ldap domain. Defaults to `example.org`
125
172
-**LDAP_ADMIN_PASSWORD** Admin password. Defaults to `admin`
@@ -130,6 +177,12 @@ TLS options :
130
177
-**SSL_KEY_FILENAME**: Ldap ssl certificate private key filename. Defaults to `ldap.key`
131
178
-**SSL_CA_CRT_FILENAME**: Ldap ssl CA certificate filename. Defaults to `ca.crt`
132
179
180
+
Replication options :
181
+
-**USE_REPLICATION**: Add openldap replication capabilities. Defaults to `false`
182
+
-**REPLICATION_CONFIG_SYNCPROV**: olcSyncRepl options used for the config database. Without **rid** and **provider** which are automaticaly added based on REPLICATION_HOSTS. Defaults to `binddn="cn=admin,cn=config" bindmethod=simple credentials=$LDAP_CONFIG_PASSWORD searchbase="cn=config" type=refreshAndPersist retry="5 5 300 5" timeout=1 starttls=critical`
183
+
-**REPLICATION_HDB_SYNCPROV**: olcSyncRepl options used for the HDB database. Without **rid** and **provider** which are automaticaly added based on REPLICATION_HOSTS. Defaults to `binddn="cn=admin,$BASE_DN" bindmethod=simple credentials=$LDAP_ADMIN_PASSWORD searchbase="$BASE_DN" type=refreshAndPersist interval=00:00:00:10 retry="5 5 300 5" timeout=1 starttls=critical`
184
+
-**REPLICATION_HOSTS**: list of replication hosts, must contains the current container hostname set by -h on docker run command. Defaults to `['ldap://ldap.example.org', 'ldap://ldap2.example.org']`
185
+
133
186
### Set environment variables at run time :
134
187
135
188
Environment variable can be set directly by adding the -e argument in the command line, for example :
0 commit comments