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

[bitnami/openldap] post-read control #76839

Open
azmeuk opened this issue Feb 2, 2025 · 2 comments
Open

[bitnami/openldap] post-read control #76839

azmeuk opened this issue Feb 2, 2025 · 2 comments
Assignees
Labels
feature-request openldap stale 15 days without activity triage Triage is needed

Comments

@azmeuk
Copy link

azmeuk commented Feb 2, 2025

Name and Version

bitnami/openldap 2.6.9

What is the problem this feature will solve?

I plan to migrate from the unsupported Osixia OpenLDAP image to the bitnami.
After some tests, I see that my application fails when using the post-read control.
The main clue in the OpenLDAP log is get_ctrls failed

ldap-1      | 679f5b38.180313b8 0x78f8f33fd6c0 conn=1003 fd=13 ACCEPT from IP=172.18.0.3:46998 (IP=0.0.0.0:1389)
ldap-1      | 679f5b38.1803a585 0x78f8f3bfe6c0 conn=1003 op=0 BIND dn="cn=admin,dc=example,dc=org" method=128
ldap-1      | 679f5b38.18041d96 0x78f8f3bfe6c0 conn=1003 op=0 BIND dn="cn=admin,dc=example,dc=org" mech=SIMPLE bind_ssf=0 ssf=0
ldap-1      | 679f5b38.1804c64f 0x78f8f3bfe6c0 conn=1003 op=0 RESULT tag=97 err=0 qtime=0.000009 etime=0.000093 text=
ldap-1      | 679f5b38.18072745 0x78f8f33fd6c0 conn=1003 op=1 SRCH base="cn=subschema" scope=0 deref=0 filter="(objectClass=*)"
ldap-1      | 679f5b38.18077cf6 0x78f8f33fd6c0 conn=1003 op=1 SRCH attr=* +
ldap-1      | 679f5b38.181bb8de 0x78f8f33fd6c0 conn=1003 op=1 SEARCH RESULT tag=101 err=0 qtime=0.000009 etime=0.001366 nentries=1 text=
ldap-1      | 679f5b38.19e74e65 0x78f8f3bfe6c0 conn=1003 op=2 SRCH base="cn=subschema" scope=0 deref=0 filter="(objectClass=*)"
ldap-1      | 679f5b38.19e7bc90 0x78f8f3bfe6c0 conn=1003 op=2 SRCH attr=* +
ldap-1      | 679f5b38.19fbf7c4 0x78f8f3bfe6c0 conn=1003 op=2 SEARCH RESULT tag=101 err=0 qtime=0.000010 etime=0.001389 nentries=1 text=
ldap-1      | 679f5b38.1ae0e792 0x78f8f33fd6c0 conn=1002 op=2 RESULT tag=105 err=17 qtime=0.000011 etime=0.000115 text=attribute type undefined
ldap-1      | 679f5b38.1ae15886 0x78f8f33fd6c0 conn=1002 op=2 do_add: get_ctrls failed

What is the feature you are proposing to solve the problem?

I would suggest to enable the post-read control if possible.
Honestly, I am not even sure how to do this. The control had always been enabled by default on OpenLDAP instances I interacted with, and it appears to not be very documented.

The control is described in RFC4527.
The OpenLDAP doc indicates that the extension is supported: https://www.openldap.org/faq/data/cache/645.html

Sorry for the noise due to my double ticket #76838

@github-actions github-actions bot added the triage Triage is needed label Feb 2, 2025
@javsalgar
Copy link
Contributor

javsalgar commented Feb 3, 2025

Hi,

Thank you for the feature request! We would need to know if this is something that is enabled at openldap compilation or this is an external extension that must be installed. Let's see if someone from the community can share their knowledge, if not we will check it ourselves but we cannot guarantee an ETA as it is not a critical feature.

Copy link

This Issue 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. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request openldap stale 15 days without activity triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants