Repository navigation
fix(lab): decide what the bahamut audit found (ADR-0140) - #1765
Merged
Merged
Conversation
The read-only audit of bahamut (2026-11-13 to 2026-11-25) found four things on the DCs that the repository contradicted or never mentioned: - LDAP signing enforced on both DCs, though ADR-0029 says removed. Now the unsigned_ldap switch: absent leaves it enforced, present writes LdapServerEnforceIntegrity 0. - ms-DS-MachineAccountQuota 10 and Print Spooler running on both DCs, both undeclared. Now the maq and spooler switches, whose absent side hardens: a plain run sets the quota to 0 and disables Spooler on the DCs. - dsHeuristics unset (DS 3051/3054): kept as shipped, asserted unset. Three roles in ADR-0083's model, three plays, verify.yml asserting all nine toggles plus dsHeuristics, and the runbooks brought in line. Refs #449 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt
enabled auto-merge (squash)
November 26, 2026 05:35
win_service manages desktop_interact too, defaulting it to false, and Server 2025 ships Spooler with it true: the --check run against both DCs showed it would flip. PowerShell, comparing first, touches only the two properties the switch is about. Refs #449 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main took ADR-0139 for the MCP server's key on smaug, so this branch's ADR becomes ADR-0140, with every reference moved and README's count at 140. The changelog keeps both 2026-11-26 entries. Also fixes the Lint job: a 127-character line in weakness_unsigned_ldap (yamllint, ansible-lint), and the runbook's new NOTE sat against the IMPORTANT block (MD028). Refs #449 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Three new switches in ADR-0083's model on the lab DCs:
unsigned_ldap,maqandspooler. Each has a role, a tag and averify.ymlassertion.dsHeuristicsis declared as a kept shipped default and asserted unset. ADR-0140 records the decisions. Applying the tags with their defaults setsms-DS-MachineAccountQuotato 0 and stops and disables Print Spooler onbahamutandleviathan. LDAP signing stays enforced, as it is today.Why
The read-only audit of
bahamut(2026-11-13 to 2026-11-25) found four gaps between the DCs and the repository:ansible/encoded either position.dsHeuristicsis unset.MAQ, Spooler and
dsHeuristicswere undeclared. MAQ and Spooler also sat outside ADR-0083's negative test. After this change, a plainlab-domain.ymlplusverify.ymlis that test again. The audit's finding 3 (pending updates) was already settled by ADR-0137. Findings 7 and 8 (DFSR noise and staging leftovers) follow in a separate PR.Refs #449
Blast radius
The two lab DCs only (VLAN 30). Nothing changes until someone runs
--tags maq,spooler(or a full plain run). After that, ordinary users can no longer create computer accounts, and the DCs stop printing. Neither is used: joins run asAD\Administrator, andrbcdbrings its own principal.unsigned_ldapis a no-op while absent. If something goes wrong,-e weakness_<name>_state=presentrestores the shipped default.secrets/*.sops.yamlVerification
python3 scripts/check_docs.py: OK../scripts/lint.sh: passed, but 8 checks were skipped and NOT run on phoenix: yamllint, markdownlint-cli2, ruff ×2, actionlint, zizmor, ansible-lint and editorconfig-checker (no pipx or docker). CI runs them.ansible-playbook --syntax-check lab-domain.yml verify.yml: both pass. All the YAML parses.make validatewas not run: phoenix has 14 GB free and the suite needs about 38 GB.--check --tags unsigned_ldap,maq,spooleragainst both DCs (2026-11-26):unsigned_ldapok,maqwould change bahamut (10 → 0),spoolerwould change both. The first dry run showedwin_servicealso flipping Spooler'sdesktop_interact; the role is now PowerShell and touches only start type and state.Not yet applied to the lab. Next:
--check --tags unsigned_ldap,maq,spooler, then apply, thenverify.yml, then a SharpHound collection with every switch off.make validatepassesDeployed to the lab and confirmed working
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code