[Auth] Roll the four apps from Auth 0.3.0 to 0.4.1 (empty-password guard, canonical username) #5

Closed
opened 2026-11-06 15:24:39 -05:00 by dohertj2 · 1 comment
Owner

What: All four family apps still pin ZB.MOM.WW.Auth.* 0.3.0; the feed carries 0.4.0 + 0.4.1 (2026-10-01). Bump each consumer to 0.4.1 (or record a decision to stay).

Why: 0.4.1 refuses an empty password inside LdapAuthService in both bind modes — Active Directory treats an empty-password simple bind as an unauthenticated bind and reports success, so the ServiceAccount-mode re-bind as the user's DN would admit anyone. 0.4.1 also canonicalises Username from the entry's UserNameAttribute, and 0.4.0 adds the opt-in BindMode=User (no service account). Today each app guards empty passwords at its own edge, so this is defence in depth, but it matters once the apps move to NAM AD (see the VD03 NAM cutover tracking issue).

Current state (verified 2026-11-06 against each origin default branch):

  • OtOpcUa master @ d51d35bd: Auth.Abstractions/AspNetCore/Ldap 0.3.0 (edge guard in OtOpcUaLdapAuthService rejects blank password)
  • MxAccessGateway main @ 488649c: Auth.* 0.3.0 (edge guard in DashboardAuthenticator)
  • ScadaBridge main @ 0e540291: Auth.* + ApiKeys.SqlServer 0.3.0 (edge guard in CentralUI/Auth/AuthEndpoints.cs)
  • HistorianGateway main @ 5250e60: Auth.* 0.3.0 (edge guard in DashboardAuthenticator)
  • Feed: zb.mom.ww.auth.ldap versions …0.3.0, 0.4.0, 0.4.1
  • (ignitionoee router is on 0.1.5 — tracked separately.)

Notes: 0.4.1 changes ServiceAccount-mode behaviour for empty passwords (refused instead of passed to the directory) — no consumer should depend on the old behaviour. One PR per sister repo; this issue tracks the family rollout.

Source: CLAUDE.md (Component normalization → Auth row: "the four apps still pin 0.3.0"); ZB.MOM.WW.Auth/CLAUDE.md
Related: scadaproj commits e3d146a, b0582eb

**What:** All four family apps still pin `ZB.MOM.WW.Auth.*` `0.3.0`; the feed carries `0.4.0` + `0.4.1` (2026-10-01). Bump each consumer to `0.4.1` (or record a decision to stay). **Why:** `0.4.1` refuses an empty password inside `LdapAuthService` in *both* bind modes — Active Directory treats an empty-password simple bind as an unauthenticated bind and reports success, so the ServiceAccount-mode re-bind as the user's DN would admit anyone. `0.4.1` also canonicalises `Username` from the entry's `UserNameAttribute`, and `0.4.0` adds the opt-in `BindMode=User` (no service account). Today each app guards empty passwords at its own edge, so this is defence in depth, but it matters once the apps move to NAM AD (see the VD03 NAM cutover tracking issue). **Current state (verified 2026-11-06 against each origin default branch):** - OtOpcUa `master` @ `d51d35bd`: Auth.Abstractions/AspNetCore/Ldap `0.3.0` (edge guard in `OtOpcUaLdapAuthService` rejects blank password) - MxAccessGateway `main` @ `488649c`: Auth.* `0.3.0` (edge guard in `DashboardAuthenticator`) - ScadaBridge `main` @ `0e540291`: Auth.* + ApiKeys.SqlServer `0.3.0` (edge guard in `CentralUI/Auth/AuthEndpoints.cs`) - HistorianGateway `main` @ `5250e60`: Auth.* `0.3.0` (edge guard in `DashboardAuthenticator`) - Feed: `zb.mom.ww.auth.ldap` versions `…0.3.0, 0.4.0, 0.4.1` - (ignitionoee router is on `0.1.5` — tracked separately.) **Notes:** `0.4.1` changes ServiceAccount-mode behaviour for empty passwords (refused instead of passed to the directory) — no consumer should depend on the old behaviour. One PR per sister repo; this issue tracks the family rollout. Source: `CLAUDE.md` (Component normalization → Auth row: "the four apps still pin 0.3.0"); `ZB.MOM.WW.Auth/CLAUDE.md` Related: scadaproj commits `e3d146a`, `b0582eb`
dohertj2 added the type:followuppriority:p2cross-repomigrated labels 2026-11-06 15:24:39 -05:00
Author
Owner

All four apps bumped ZB.MOM.WW.Auth.* 0.3.0 → 0.4.1 (published feed version; BindMode stays ServiceAccount, no config change, app edge guards untouched):

  • OtOpcUa master 1ecd01d3 (Directory.Packages.props, 3 refs) — Release 0 warnings; AdminUI 1962, Host 241, OpcUaServer 1026, Security 104
  • ScadaBridge main 37fcd296 (5 refs incl. ApiKeys.SqlServer) — every non-Playwright test project green (Security 199, ManagementService 775, CentralUI 1537, Host 666, IntegrationTests 119 …)
  • mxaccessgw main ace12f81 (Server + IntegrationTests csproj) — NonWindows slnx build; MxGateway.Tests 1417 (+6 skip)
  • historiangw main 0d06483 (Server csproj) — Tests 1286 (+54 skip), Client 182, Historian.Client 191
    No API breaks; no test asserted old casing/empty-password behaviour. Vulnerability scan clean except the known test-only AngleSharp NU1902 in ScadaBridge CentralUI.Tests.
    Not done here: deploying (wonder boxes still run 0.3.0 builds) and a live AD check of the username canonicalisation — both ride the NAM cutover #6. Index updated (5c207d1).
All four apps bumped ZB.MOM.WW.Auth.* 0.3.0 → 0.4.1 (published feed version; BindMode stays ServiceAccount, no config change, app edge guards untouched): - OtOpcUa master `1ecd01d3` (Directory.Packages.props, 3 refs) — Release 0 warnings; AdminUI 1962, Host 241, OpcUaServer 1026, Security 104 - ScadaBridge main `37fcd296` (5 refs incl. ApiKeys.SqlServer) — every non-Playwright test project green (Security 199, ManagementService 775, CentralUI 1537, Host 666, IntegrationTests 119 …) - mxaccessgw main `ace12f81` (Server + IntegrationTests csproj) — NonWindows slnx build; MxGateway.Tests 1417 (+6 skip) - historiangw main `0d06483` (Server csproj) — Tests 1286 (+54 skip), Client 182, Historian.Client 191 No API breaks; no test asserted old casing/empty-password behaviour. Vulnerability scan clean except the known test-only AngleSharp NU1902 in ScadaBridge CentralUI.Tests. Not done here: deploying (wonder boxes still run 0.3.0 builds) and a live AD check of the username canonicalisation — both ride the NAM cutover #6. Index updated (`5c207d1`).
Sign in to join this conversation.