1
0

Accepting request 857864 from home:kukuk:container

- Install misc.schema by default (ldap mail alias)

- Fix error caused by uninitialized DEBUG variable

OBS-URL: https://build.opensuse.org/request/show/857864
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/opensuse-openldap-image?expand=0&rev=7
This commit is contained in:
Thorsten Kukuk 2020-12-21 15:30:28 +00:00 committed by Git OBS Bridge
parent 8c60009101
commit 64eb4787a0
4 changed files with 29 additions and 5 deletions

View File

@ -97,6 +97,20 @@ podman run -v /srv/openldap/certs:/etc/openldap/certs:Z \
-d registry.opensuse.org/opensuse/openldap:latest
```
The variables `LDAP_TLS_CA_CRT`, `LDAP_TLS_CRT` and `LDAP_TLS_KEY` are stored
during the first start of the container in the LDAP configuration. Changes to
the variables on further starts will have no affect.
An example with certificates from `Let's Encrypt`:
```sh
podman run -v /etc/letsencrypt:/etc/letsencrypt \
-e LDAP_TLS_CRT=/etc/letsencrypt/live/example.org/cert.pem \
-e LDAP_TLS_KEY=/etc/letsencrypt/live/example.org/privkey.pem \
-e LDAP_TLS_CA_CRT=/etc/letsencrypt/live/example.org/fullchain.pem \
-d registry.opensuse.org/opensuse/openldap:latest
```
### Disable TLS
Add --env LDAP_TLS=0 to the run command: `podman run -e LDAP_TLS=0 ...`

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b00b518b33ba9f58f49767159441f58017dc4a3d42e3227a253853a2f9a77f49
size 7613
oid sha256:ad4a8e06c18799be350df5ef89ae98d16d1dfc520137dbe6639a3b3151d8b218
size 8278

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Dec 21 13:33:21 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Install misc.schema by default (ldap mail alias)
-------------------------------------------------------------------
Fri Dec 18 21:11:07 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Fix error caused by uninitialized DEBUG variable
-------------------------------------------------------------------
Wed Nov 4 17:52:32 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -6,7 +6,7 @@
<description type="system">
<author>Thorsten Kukuk</author>
<contact>kukuk@suse.com</contact>
<specification>openSUSE image containing OpenLDAP as ldap server.</specification>
<specification>OpenLDAP stand-alone LDAP daemon</specification>
</description>
<preferences>
<type
@ -31,7 +31,7 @@
</volumes>
<labels>
<suse_label_helper:add_prefix prefix="org.opensuse.openldap">
<label name="org.opencontainers.image.title" value="openSUSE OpenLDAP container"/>
<label name="org.opencontainers.image.title" value="OpenLDAP stand-alone LDAPv3 daemon."/>
<label name="org.opencontainers.image.description" value="Image containing OpenLDAP daemon."/>
<label name="org.opencontainers.image.version" value="%PKG_VERSION%-%RELEASE%"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
@ -39,7 +39,7 @@
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
</suse_label_helper:add_prefix>
</labels>
<history author="Thorsten Kukuk &lt;kukuk@suse.com&gt;">openSUSE OpenLDAP container</history>
<history author="Thorsten Kukuk &lt;kukuk@suse.com&gt;">OpenLDAP container</history>
</containerconfig>
</type>
<version>1.0.0</version>