Skip to content

BUG-14: apply-test-identities: a failed password-attribute read counts as no hash visible #116

Closed

Description

@ephico2real2

Part of #110

Related: #94

What is wrong: with no pipefail, a failed ldapsearch piped to grep -ci gives 0, which matches the expected 0, so the check reports the bind user sees no hash.

Where: examples/cmapi-sso/ldap/apply-test-identities.sh:307-315, on PR #112 at be66382, not merged.

How to prove it: a run where that search really fails must stop. The test is deploy/tests/ldap-identities-test.sh failures, which commit 7001161 extends.

Measured or inferred: Codex found it. Nothing has run on the real LDAP. The status when filed: found by Codex; reviewer 2 is reproducing it. Nothing has run on the real LDAP.

Severity: Medium. A check of the shared LDAP is a weak control while a failed read can pass.

What must hold after the fix: A failed read of the password attribute stops the run. It does not count as zero hashes.

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 7001161 ("A failed read for a password hash is not zero hashes") 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
    7001161
  2. added
    In-Progress
    on Nov 13, 2026
  3. added
    bug
    on Nov 13, 2026
  4. changed the title [-]apply-test-identities: a failed password-attribute read counts as no hash visible[/-] [+]BUG-14: apply-test-identities: a failed password-attribute read counts as no hash visible[/+] on Nov 13, 2026
  5. added
    class:INV
    sev:medium
    status:open
    on Nov 13, 2026
  6. 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 7001161 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