Creating an OpenLDAP Lab with Docker
I needed an OpenLDAP lab to test some authentication with. The bitnami container seemed alright, but I ran into problems modifying the access controls. I ended up using the osixia/openldap
container and modifying it from there.
I created a quick GitHub repository to store everything, which is here: https://github.com/tryfan/openldap-lab.
Since there are two different overlays for memberOf
attributes, there are two different seed files for those. seed.sh
and seed-unique.sh
. The only difference is that the group types of the former are groupOfNames
which is supposed to be the OpenLDAP preferred group and the latter is uniqueGroupOfNames
which is preferred by Active Directory.