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
Copy file name to clipboardExpand all lines: README.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
[](http://microbadger.com/images/osixia/openldap"Get your own image badge on microbadger.com")
#Add the pair "ip hostname" to /etc/hosts on each containers,
@@ -201,7 +201,7 @@ You may have some problems with mounted files on some systems. The startup scrip
201
201
202
202
To fix that run the container with `--copy-service` argument :
203
203
204
-
docker run [your options] osixia/openldap:1.1.7 --copy-service
204
+
docker run [your options] osixia/openldap:1.1.8 --copy-service
205
205
206
206
### Debug
207
207
@@ -210,11 +210,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
210
210
211
211
Example command to run the container in `debug` mode:
212
212
213
-
docker run --detach osixia/openldap:1.1.7 --loglevel debug
213
+
docker run --detach osixia/openldap:1.1.8 --loglevel debug
214
214
215
215
See all command line options:
216
216
217
-
docker run osixia/openldap:1.1.7 --help
217
+
docker run osixia/openldap:1.1.8 --help
218
218
219
219
220
220
## Environment Variables
@@ -256,7 +256,7 @@ TLS options:
256
256
-**LDAP_TLS_CRT_FILENAME**: Ldap ssl certificate filename. Defaults to `ldap.crt`
257
257
-**LDAP_TLS_KEY_FILENAME**: Ldap ssl certificate private key filename. Defaults to `ldap.key`
258
258
-**LDAP_TLS_CA_CRT_FILENAME**: Ldap ssl CA certificate filename. Defaults to `ca.crt`
259
-
-**LDAP_TLS_ENFORCE**: Enforce TLS. Can't be disabled once set to true. Defaults to `false`.
259
+
-**LDAP_TLS_ENFORCE**: Enforce TLS but except ldapi connections. Can't be disabled once set to true. Defaults to `false`.
260
260
-**LDAP_TLS_CIPHER_SUITE**: TLS cipher suite. Defaults to `SECURE256:+SECURE128:-VERS-TLS-ALL:+VERS-TLS1.2:-RSA:-DHE-DSS:-CAMELLIA-128-CBC:-CAMELLIA-256-CBC`, based on Red Hat's [TLS hardening guide](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Hardening_TLS_Configuration.html)
261
261
-**LDAP_TLS_VERIFY_CLIENT**: TLS verify client. Defaults to `demand`
262
262
@@ -277,7 +277,7 @@ Replication options:
277
277
278
278
If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
279
279
280
-
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.7
280
+
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.8
281
281
282
282
To convert yaml to python online: http://yaml-online-parser.appspot.com/
283
283
@@ -292,7 +292,7 @@ Other environment variables:
292
292
Environment variables can be set by adding the --env argument in the command line, for example:
293
293
294
294
docker run --env LDAP_ORGANISATION="My company" --env LDAP_DOMAIN="my-company.com" \
Be aware that environment variable added in command line will be available at any time
298
298
in the container. In this example if someone manage to open a terminal in this container
@@ -303,28 +303,28 @@ he will be able to read the admin password in clear text from environment variab
303
303
For example if your environment files **my-env.yaml** and **my-env.startup.yaml** are in /data/ldap/environment
304
304
305
305
docker run --volume /data/ldap/environment:/container/environment/01-custom \
306
-
--detach osixia/openldap:1.1.7
306
+
--detach osixia/openldap:1.1.8
307
307
308
308
Take care to link your environment files folder to `/container/environment/XX-somedir` (with XX < 99 so they will be processed before default environment files) and not directly to `/container/environment` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE).
309
309
310
310
Note: the container will try to delete the **\*.startup.yaml** file after the end of startup files so the file will also be deleted on the docker host. To prevent that : use --volume /data/ldap/environment:/container/environment/01-custom**:ro** or set all variables in **\*.yaml** file and don't use **\*.startup.yaml**:
311
311
312
312
docker run --volume /data/ldap/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
313
-
--detach osixia/openldap:1.1.7
313
+
--detach osixia/openldap:1.1.8
314
314
315
315
#### Make your own image or extend this image
316
316
317
317
This is the best solution if you have a private registry. Please refer to the [Advanced User Guide](#advanced-user-guide) just below.
318
318
319
319
## Advanced User Guide
320
320
321
-
### Extend osixia/openldap:1.1.7 image
321
+
### Extend osixia/openldap:1.1.8 image
322
322
323
323
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
0 commit comments