osixia / docker-openldap

OpenLDAP container image 🐳🌴
MIT License
4.03k stars 975 forks source link

OpenLDAP v2.6 #670

Open guillelb opened 11 months ago

guillelb commented 11 months ago

Hello, I see that there have been no changes to the repo for two years now. The OpenLDAP version has advanced to the current v2.6.6, but this repo is still using v2.4. Do you plan to update the OpenLDAP version?

zerowebcorp commented 8 months ago

I'm also wondering if it is still being maintained. I see a lot of people are moving to Bitnami image, probably because of this reason.

bignay2000 commented 3 months ago

@BertrandGouny This is an amazing repo. Why let this die!

bignay2000 commented 3 months ago

@dbck 10 Million downloads on docker hub. Just need this updated!

polarathene commented 3 months ago

I see a lot of people are moving to Bitnami image, probably because of this reason.

Yeah, I don't think it's being maintained here. bitnami/openldap has been good, but I've only really used it in our test suite where LDAP support doesn't have much coverage. Actively maintained though 👍


Just for anyone interested, I migrated from this Docker image a while back, I looked into a few options and documented that and chose to switch to bitnami/openldap.

Below is a rough guide you could probably follow (see the linked PR for additional details in switching if helpful), in case it helps anyone else :)


Example adapted from usage in DMS CI test suite:

# Setup a local openldap service:
docker run --rm -d --name ldap-example \
  --env LDAP_ADMIN_PASSWORD=admin \
  --env LDAP_ROOT='dc=example,dc=test' \
  --env LDAP_PORT_NUMBER=389 \
  --env LDAP_SKIP_DEFAULT_TREE=yes \
  --volume "path/to/openldap/ldifs/:/ldifs/:ro" \
  --volume "path/to/openldap/schemas/:/schemas/:ro" \
  --hostname 'ldap.example.test' \
  bitnami/openldap:latest

Example volumes for LDIFs here: https://github.com/docker-mailserver/docker-mailserver/tree/22383c28e7cf6d38b674f8a0d28ff522bbad3929/test/config/ldap/openldap/ldifs