Closed larsks closed 5 years ago
@larsks I'm not sure if we care too much to take changes to the default run script unless it somehow impacts OpenShift testing. We use images built from the files in this this repo to bootstrap the OpenShift CI LDAP tests where we mount in our own startup scripts and LDAP data.. Also, we are not actively publishing updated images right now.
Eh, that's okay. It's a minor change with no operational impact and it made the image useful to me. Feel free to close this if you don't want the change.
@mrogers950 has confirmed to me that this will not break his testing. @mfojtik please merge.
/lgtm
@enj: changing LGTM is restricted to collaborators
Merging per request.
Previously, slapd in this container would always listen on only
ldaps:///
andldap:///
. As indicated in HACKING.md, this makes it difficult to make configuration changes tocn=config
. With this change, the user may set OPENLDAP_LISTEN_URIS to change the list of endspoints to which slapd will listen, thus permitting the use ofldapi:///
if so desired. E.g.docker run -e OPENLDAP_LISTEN_URIS="ldapi/// ldaps:///" ...
.This also restricts slapd to
ldapi:///
when performing the initial configuration steps.