[Auth] Execute the VD03 NAM AD LDAP cutover, then QA (plan never executed) #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What: cut the logins of four family apps over to the real NAM Active Directory: OtOpcUa (AdminUI), ScadaBridge (CentralUI and CLI), MxAccessGateway (dashboard) and HistorianGateway (dashboard). Do DEV vd03 first, soak, then QA vq03/vq04. Overview is exempt (it has no login).
Plan (current):
docs/plans/2026-11-15-nam-ldap-cutover.md. It replaces the 2026-08-13 plan, which is now a pointer. It has been reviewed independently (see its §11). Mapping matrix:ldap_mapping.md.Family standards (decided 2026-11-15):
Code prerequisites, each shipped before that app's cutover:
/auth/loginand/auth/token(Phase A2).Owner and IT prerequisites (plan §5, D1–D7):
svc_igntadminis the interim, with the Ignition team's agreement (D1).zimmer-rootca;AllowInsecureonly as a DEV stopgap.UG_WW_APP_DEPLOY_{DEV,QA}groups. ScadaBridge Deployer has no other source, so the ScadaBridge step needs them.ldapprobe --self-bind.Runbook (once the above are done): Phase 0 preflight, under deploy scope, on each box. Then DEV in this order: HistorianGateway (the canary), mxgw, ScadaBridge, OtOpcUa. Soak, then QA in the same order, restarting the standby first. Stop if the service account fails to log in twice within 15 minutes, across all apps.
Status: plan only; nothing executed. Every deployed build already has Auth ≥ 0.4.1 (ScadaBridge 0.5.0), so the old Auth 0.2.1 redeploy phase is gone.
2026-11-15: plan rewritten and reviewed; issue body updated. The new plan is
docs/plans/2026-11-15-nam-ldap-cutover.md. Corrections from the old plan:LdapGroupNameindex;FallbackServers.The independent review then found two blockers, both now in the plan as code phases:
Filed today: lmxopcua#913, ScadaBridge#144, historiangw#136 and scadaproj#58.
Follow-up filed: ScadaBridge#145, the management API HTTP Basic / Bearer path still admits zero-role users. Fix it before the ScadaBridge cutover step (plan §7.4).
DEV vd03 cut over to NAM AD — 2026-11-19 (plan §0, today's groups and accounts). QA not started; the QA hold stands.
2e0ce81e(#144 + #145) deployed to vd03 first (binary-only, no migration).svc_igntadmin, password from${secret:nam-ldap-svc-password}in each app's store.zimmer-rootcawas already trusted on vd03, soAllowInsecure=false(D4 settled for DEV).dohertj2signs in to HG, mxgw, ScadaBridge (UI,/auth/token, CLI) and OtOpcUa (UI,/auth/token). Bogus users are refused everywhere. Zero-role refusal was proven live on ScadaBridge (before the rows existed) and on HG.UG_WW_HIST_ADMIN_DEV(interim until D6'sUG_WW_APP_DEPLOY_DEVexists).Security__Cookie__RequireHttpsCookie=false, like the other apps there.Record:
docs/deploy/2026-11-19-vd03-nam-ldap/README.md(c80d5e7); ScadaBridge record98a8df1f.DEV items done: lmxopcua#913, ScadaBridge#144/#145 and historiangw#136 deployed on vd03; D2 (login on in DEV); D3 interim (
dohertj2); D4 (DEV); D7 (DEV members re-enumerated). Still open: scadaproj#58 (D1 for QA), D3 and D6 for QA, and the soak.QA vq03/vq04 cut over 2026-11-19 15:29–16:10 EST (plan §0Q, one window): HG f84af29, mxgw e74918cc, ScadaBridge 2e0ce81e, OtOpcUa cdf433a3 (DEV builds) and NAM AD login (svc_igntadmin interim,
${secret:nam-ldap-svc-password}) on all four apps on both boxes. dohertj2 signs in everywhere with the expected roles; bogus and GLAuth multi-role refused; zero service-bind warnings. Outages: HG/mxgw seconds per box, ScadaBridge site path ~2m17s / central API ~55s, OtOpcUa pair ~56s (vq04 Primary 250, vq03 Standby 90). Record:docs/deploy/2026-11-19-qa-nam-ldap/(9789b01); ScadaBridge record 9109e4e9. Follow-up: the headless Secrets CLI cannot write the SQL Server store (one-off build used for ScadaBridge Central).