-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[bitnami/openldap] feat: pldap and pldaps support #70999
Conversation
…flags - Reduce dupes - Allow advanced logic for each flag arguments Signed-off-by: Arano-kai <[email protected]>
Support for 'proxied LDAP' and 'proxied LDAP over SSL'. Read 'https://www.openldap.org/doc/admin26/runningslapd.html#Command-Line%20Options' for additional info. Signed-off-by: Arano-kai <[email protected]>
When the debugging is on, show what will actually run Signed-off-by: Arano-kai <[email protected]>
Assert that port related values are positive int Signed-off-by: Arano-kai <[email protected]>
0bdea94
to
9ef7459
Compare
This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution. |
Hi @Arano-kai, sorry for the late reply. I will review the PR and I will get back to you soon. Thank you for your contribution and patience! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some suggestions, could you please take a look at them? Thanks!
bitnami/openldap/2.6/debian-12/rootfs/opt/bitnami/scripts/openldap/run.sh
Show resolved
Hide resolved
bitnami/openldap/2.6/debian-12/rootfs/opt/bitnami/scripts/openldap/run.sh
Show resolved
Hide resolved
bitnami/openldap/2.6/debian-12/rootfs/opt/bitnami/scripts/openldap/run.sh
Show resolved
Hide resolved
bitnami/openldap/2.6/debian-12/rootfs/opt/bitnami/scripts/openldap/run.sh
Show resolved
Hide resolved
bitnami/openldap/2.6/debian-12/rootfs/opt/bitnami/scripts/openldap/run.sh
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for your contribution!
Description of the change
Ability to enable pldap(s) protocols.
Benefits
The pldap(s) is required when LDAP servers is run behind LB proxy. The proxy protocol v2 allow reveal the real client IP on LDAP server side in such setup.
Possible drawbacks
Previous deployments not affected, this feature is disabled by default.
In new deployments that want use pldap(s) and replication, user must provide additional config to move proxy protocol enabled ports to non-default values, since replication can't run on pldap(s).
Applicable issues
None.
Additional information
The /opt/bitnami/scripts/openldap/run.sh are refactored to allow independent configuration and advanced logic for each startup flag. This changes are BASH specific and require additional patch if container moves to other shell.
Additional check for LDAP_PORT_NUMBER and LDAP_LDAPS_PORT_NUMBER is set, which should not affect valid deployments.