jp-gouin / helm-openldap

Helm chart of Openldap in High availability with multi-master replication and PhpLdapAdmin and Ltb-Passwd
Apache License 2.0
183 stars 115 forks source link

Chart doesnt work as expected in default configuration #109

Closed suresh-now closed 9 months ago

suresh-now commented 1 year ago

Describe the bug After installation, and exec into the pod, the ldapsearch -x -b "dc=example,dc=org" -H ldap://0.0.0.0:1389, will return always return empty result. Only when env.LDAP_EXTRA_SCHEMAS: "cosine,inetorgperson,nis" is set, the chart works.

To Reproduce Steps to reproduce the behavior: 1) Create a values file replicaCount: 1 replication: enabled: false persistence: enabled: false tls: enabled: false ltb-passwd: enabled: false phpldapadmin: enabled: false 2) helm install my-release -f values.yaml helm-openldap/openldap-stack-ha 3) kubectl exec -it my-release-0 /bin/bash 4) ldapsearch -x -b "dc=example,dc=org" -H ldap://0.0.0.0:1389 5) The default set of user are not returned

Expected behavior The default users should be returned

Desktop (please complete the following information): -Mac

lucj commented 11 months ago

@suresh-now Do you still have the problem ?

jp-gouin commented 11 months ago

Single node deployment example can be found here

please make sure to completely clean up your namespace when you test multiple deployments as PV are not deleted when the chart is.

r1cebank commented 11 months ago

Just curious has anything changed in the chart version 4.1.1? My configuration has been working with v4.1.1 but recently following a redeployment of the same configs I am experiencing the same issue this person is reporting.

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.