Repository navigation
Description
Part of #14
What is wrong: On the existing LDAP server in namespace ldap-testing, ConfigMap ldap-config holds LDAP_ADMIN_PASSWORD, LDAP_CONFIG_PASSWORD and LDAP_READONLY_USER_PASSWORD, and the Deployment reads them with envFrom. Anyone who can read ConfigMaps in that namespace can read the directory admin password, and it is also in kubectl.kubernetes.io/last-applied-configuration where that was applied. The usual practice is a Secret, with RBAC around it.
Where: ConfigMap ldap-config in namespace ldap-testing on CRC. No file in this repository defines it, so there is no file:line. The file that defines it is not in ~/gitRepos, so the fix belongs with that source.
How to prove it: List the keys of the ConfigMap, and print no value: oc get configmap ldap-config -n ldap-testing -o json | jq '.data | keys'. The three password keys must be absent after the fix.
Measured or inferred: Measured on CRC when filed. Values were not printed while finding this. This sweep did not read the cluster again.
Severity: High. If a person can read ConfigMaps in ldap-testing, that person gets the admin password of the shared directory.
What must hold after the fix: The three passwords are in a Secret, and the ConfigMap holds none of them. RBAC limits who can read that Secret.
Research: Not done yet.
Solution: Not written. This is not cmapi's server, and other projects share it, so this session has not changed it. The owner decides the change (HANDOVER-AND-RESUME.md, "Steps only the owner can take", Wave 8).
Class: TDT. The setup works today, but the passwords in a ConfigMap are an earlier shortcut.
Activity
[-]Existing LDAP server: the admin passwords sit in a ConfigMap[/-][+]SEC-01: Existing LDAP server: the admin passwords sit in a ConfigMap[/+]ephico2real2 commentedon Nov 13, 2026
Work tag: Blocked. The blocker is the owner's decision on the shared LDAP server (
HANDOVER-AND-RESUME.md, "Steps only the owner can take", Wave 8). The server is not cmapi's, and no file in this repository defines it. To unblock: the owner decides who moves the three passwords to a Secret. Read fromghandgitat 2026-11-13T09:18Z.