Commit 33e676e
Fix duplicate-DC-DN crash in --generate-fake-reports (#353)
FakeHealthCheckDataGenerator hardcoded dc.DistinguishedName = "DC=DC"
for every DC in a domain. HeatlcheckRuleAnomalyAuditDC builds a
Dictionary keyed by DistinguishedName and throws on the second .Add()
for any multi-DC domain, causing ~50 crashes per default-population
--generate-fake-reports run (every Medium and Large domain).
Replace the constant with a per-DC unique, properly-formed AD DC DN
that includes the domain FQDN.
Closes #352.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d3d930d commit 33e676e
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
0 commit comments