Skip to content

BUG-08: Existing LDAP server: a reapply of ldap-acls would drop any rule missing from its source #36

Open

Description

@ephico2real2

Part of #14

What is wrong: ConfigMap ldap-acls in ldap-testing holds a replace: olcAccess list, and its own comment warns that a copy leaving a rule out deletes it. The ConfigMap carries a last-applied-configuration annotation, so a file somewhere applied it, and that file is not in ~/gitRepos.

Why it matters for cmapi: once cmapi-ldap-bind is in the rules, re-applying that source would remove its grant. Its searches would then answer "No such object (32)", which looks like missing data rather than a denial.

Where: ConfigMap ldap-acls in namespace ldap-testing on CRC. No file in this repository defines it, so there is no file:line. examples/cmapi-sso/ldap/apply-bind-user.sh adds the rule of the bind user, and that file exists at ecc5cb3.

How to prove it: Apply the source of ldap-acls again on a stand-in OpenLDAP. The bind user's search must still answer. A new test in deploy/tests/ldap-identities-test.sh shows it, not written yet.

Measured or inferred: The ConfigMap and its annotation were read on CRC when filed. The loss of the grant is inferred: nobody applied the source again.

Severity: Medium. A reapply gives an incorrect directory state for cmapi, with no direct loss.

What must hold after the fix: The source of ldap-acls holds the rule of cmapi-ldap-bind. If nobody finds the source, a document beside apply-bind-user.sh gives the risk and the repair.

Research: Not done yet.

Solution: The fix when filed: find the source and add the rule there. If it cannot be found, document this next to apply-bind-user.sh, which is safe to re-run. Not applied. The owner decides (HANDOVER-AND-RESUME.md, "Steps only the owner can take", Wave 8).

Class: TDT. The rules come from a file that nobody can find, a hand step that costs more to operate.

Activity

  1. added
    bug
    on Nov 5, 2026
  2. added
    Blocked
    class:TDT
    sev:medium
    status:owner-action
    on Nov 13, 2026
  3. changed the title [-]Existing LDAP server: a reapply of ldap-acls would drop any rule missing from its source[/-] [+]BUG-08: Existing LDAP server: a reapply of ldap-acls would drop any rule missing from its source[/+] on Nov 13, 2026
  4. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    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 source of ldap-acls is not in this repository. To unblock: the owner gives the source, or accepts a document beside apply-bind-user.sh. Read from gh and git at 2026-11-13T09:18Z.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Blockedbugclass:TDTsev:mediumstatus:owner-action

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions