Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC][Feature] Adding LDAP_PORT and LDAPS_PORT to configuration env #165

Closed
kopax opened this issue Nov 21, 2017 · 2 comments · Fixed by #403
Closed

[RFC][Feature] Adding LDAP_PORT and LDAPS_PORT to configuration env #165

kopax opened this issue Nov 21, 2017 · 2 comments · Fixed by #403

Comments

@kopax
Copy link

kopax commented Nov 21, 2017

I want to deploy many docker-openldap on a Mesos cluster.

We use internally HAproxy for TCP reverse proxy See: here.

At this step, I do not know the forward port elected by marathon, and the HAproxy is using the servicePort.

Because the haproxy port is unique, this feature would add possibility to switch the local port used by docker-openldap for ldap:// and ldap://

The environment variables would be:

  • LDAP_PORT : set ldap:// port (default: 389)
  • LDAPS_PORT : set ldaps:// port (default: 389)
@ghost
Copy link

ghost commented Mar 22, 2019

This might also help with running OpenLDAP as a regular user, without root permissions. (See e.g. #109 for an example where this might be handy.)

@colearendt
Copy link

Another use case for this - we have hard restrictions on port numbers being > 1024 in one of my kubernetes-based environments, so not being able to easily customize the port has caused a good bit of pain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants