Skip to content

BUG-17: apply-test-identities --remove-test-identities deletes what it did not write #119

Closed

Description

@ephico2real2

Part of #110

Related: #94

What is wrong: it deleted a differing entry at cn=cmapi.admin and a group holding a real person, and failed only after the deletes.

Where: examples/cmapi-sso/ldap/apply-test-identities.sh, on PR #112 at be66382. The file exists at be66382 (checked with git show). The issue gives no line.

How to prove it: ldap-identities-test.sh failures on a real OpenLDAP. The test is deploy/tests/ldap-identities-test.sh failures, which commit 00f6b72 extends.

Measured or inferred: Reviewer 2 reproduced it with ldap-identities-test.sh failures on a real OpenLDAP. The status when filed: found and reproduced by reviewer 2; proposed fix 08 in docs/reviews/2026-11-06-pr112/reviewer-2-proposed/, not validated by the coordinator. Nothing has run on the real LDAP.

Severity: Medium. The option can delete entries of other owners in the shared LDAP, which is incorrect data.

What must hold after the fix: --remove-test-identities refuses an entry that the script did not write, and deletes none.

Research: The mandate when filed: search the primary sources, compare the options, choose the industry best practice, fix the cause rather than the symptom, and record the choice and its sources. This issue holds no research record. The review record is docs/reviews/2026-11-06-pr112/README.md.

Solution: Commit 00f6b72 ("--remove-test-identities leaves what it did not write") on branch ldap-rbac-names, in draft PR #112. It is not merged.

Class: INV. The defect is in new INV work (#110) that is not merged, so its fix is part of that work.

Activity

  1. added a commit that references this issue on Nov 7, 2026
    00f6b72
  2. added
    In-Progress
    bug
    on Nov 13, 2026
  3. changed the title [-]apply-test-identities --remove-test-identities deletes what it did not write[/-] [+]BUG-17: apply-test-identities --remove-test-identities deletes what it did not write[/+] on Nov 13, 2026
  4. added
    class:INV
    sev:medium
    status:open
    on Nov 13, 2026
  5. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    Work tag: In-Progress. Draft PR #112 (branch ldap-rbac-names, head ecc5cb3) closes this issue. The fix is commit 00f6b72 on that branch. The pull request is not merged, and the branch is not the default branch. 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

    In-Progressbugclass:INVsev:mediumstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions