Archived
Installs and documents the FreeIPA identity management server at domain-controller.sweet.home (VMID 108, pve1). Provides Kerberos, LDAP, and integrated DNS for the SWEET.HOME realm. New section: freeipa/ - docs/install.md: full step-by-step reproduction procedure including Proxmox VM prep (Rocky Linux 9 GenericCloud, SeaBIOS, cloud-init), swap setup, static IP, /etc/hosts fix, ipa-server-install flags - docs/pihole-dns.md: how to configure Pi-hole to forward sweet.home queries to the FreeIPA BIND instance - scripts/install.sh: idempotent install script with pre-flight checks; reads passwords from env or interactive prompt (never commits them) - scripts/configure-pihole-dns.sh: idempotent Pi-hole forwarder setup - scripts/verify.sh: read-only health check (13 checks, 0 side effects) - CLAUDE.md: host guardrails for domain-controller Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Jbvxx4xbHVcx1NkK3vtmK
1.6 KiB
1.6 KiB
freeipa/CLAUDE.md
Host-specific guardrails for the domain-controller FreeIPA server.
Host: domain-controller.sweet.home
- VMID 108 on
pve1.sweet.home— this is production infrastructure. Treat it the same as any other pve1 guest: no changes without explicit same-session operator authorisation. - Read-only is always fine: SSH in as
wayne, inspect IPA state withipa *commands orkinit admin && ipa ..., check service status withipactl status— none of that needs authorisation. - Never modify FreeIPA topology, replicas, or the LDAP DIT directly
without the operator's go-ahead. That means no
ipa user-del, noipa-replica-manage, noldapmodifyagainst the live directory. - Do not commit secrets. The Directory Manager password and the
adminKerberos password must not appear in any file in this repo. Scripts that need them must read from environment variables or prompt interactively. - The
adminpassword and Directory Manager password were generated at install time and stored only in the operator's password manager — not in this repo. SeeREADME.mdfor how to retrieve/reset them.
What is safe to run automatically
scripts/verify.sh— read-only health check, no side effects.scripts/configure-pihole-dns.sh— idempotent DNS forwarder setup in Pi-hole; safe to re-run.
What requires operator go-ahead
scripts/install.sh— destructive if run against an already-provisioned host. Always check first withipactl status.- Any
ipa-replica-installoripa-server-upgradeinvocation.