docs(ldap): windev runs Production on the shared GLAuth's LDAPS :3894 (#180)
ci / java (push) Failing after 15m34s
ci / nightly-windev (push) Has been skipped
ci / portable (push) Failing after 21m32s
ci / windows-x86 (push) Failing after 21m47s

windev's MxAccessGw now runs DOTNET_/ASPNETCORE_ENVIRONMENT=Production, with
DisableLogin removed and MxGateway:Ldap on Transport=Ldaps, Port=3894,
AllowInsecure=false and the GLAuth cert pinned by SHA-256. Record the env
change and the rollback, and update the stale "GLAuth has no LDAPS" text.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
This commit is contained in:
Joseph Doherty
2026-11-13 02:42:05 -05:00
parent 2cc0d57541
commit 3e004708d4
2 changed files with 20 additions and 12 deletions
+4 -4
View File
@@ -27,7 +27,7 @@ gw-specific role.
| Protocol | LDAP (unencrypted) |
| Host | **`10.100.0.35`** (shared docker host — ~~`localhost`~~ retired) |
| Port | `3893` |
| LDAPS | disabled in dev (`Transport=None`, `AllowInsecure=true`) |
| LDAPS | **`:3894`** since 2026-11-10 (self-signed; pin the SHA-256 thumbprint from `scadaproj/infra/glauth/README.md`). windev uses it as `Production` since 2026-11-13 (mxaccessgw#180). Local dev defaults stay on `:3893` (`Transport=None`, `AllowInsecure=true`). |
| Base DN | `dc=zb,dc=local` |
| Bind DN format | `cn={username},dc=zb,dc=local` |
| Service account DN | `cn=serviceaccount,dc=zb,dc=local` (password: `<service-account-password>`) |
@@ -370,9 +370,9 @@ add a `tokenGroups` query as an enhancement.
Directory. *(The retired per-box `C:\publish\glauth\glauth.cfg` has the same caveat.)*
- The 3-fail / 10-minute lockout is per source IP, not per user — a
shared NAT can lock out a whole office. Tunable in `[behaviors]`.
- LDAPS isn't enabled in dev; binding sends passwords cleartext on the
wire. The shared GLAuth listens only on the LAN (`10.100.0.35`); never
expose port 3893 externally without enabling TLS first.
- The plain `:3893` listener sends bind passwords in cleartext. The shared GLAuth
listens only on the LAN (`10.100.0.35`); never expose `:3893` externally. Use the
LDAPS listener on `:3894` for anything production-labelled.
- **Enabling LDAPS against GLAuth (self-signed cert).** GLAuth's `[ldaps]`
listener normally uses a self-signed certificate. Rather than installing it in
the gateway host's trust store, pin it: set `MxGateway:Ldap:Transport=Ldaps`,