Skip to content

BUG-23: apply-bind-user.sh reads a failed read as a pass, twice #125

Closed

Description

@ephico2real2

Part of #110

Related: #94

What is wrong: both cases pass when the read itself failed. This part is already on main.

Where: examples/cmapi-sso/ldap/apply-bind-user.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 0bde88c 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 11 in docs/reviews/2026-11-06-pr112/reviewer-2-proposed/, not validated by the coordinator. 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: Each of the two checks fails when its read fails.

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 0bde88c ("apply-bind-user.sh: a failed read is not a pass") on branch ldap-rbac-names, in draft PR #112. It is not merged.

Class: No class. apply-bind-user.sh is on main, and the fix makes a failed read fail, which is the intended behavior.

Activity

  1. added a commit that references this issue on Nov 7, 2026
    0bde88c
  2. added
    In-Progress
    bug
    on Nov 13, 2026
  3. added
    sev:medium
    on Nov 13, 2026
  4. changed the title [-]apply-bind-user.sh reads a failed read as a pass, twice[/-] [+]BUG-23: apply-bind-user.sh reads a failed read as a pass, twice[/+] 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 0bde88c 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-Progressbugsev:mediumstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions