Commit Graph

2 Commits

Author SHA1 Message Date
chrisfu
b38bd39145 feat(scripts): enforce Kerberos usage and improve validation in DNS sync script
- Replaced `-k yes` with `--use-kerberos=required` for all `samba-tool` commands.
- Added Kerberos ticket validation with warnings for unset or missing `KRB5CCNAME`.
- Updated usage example to emphasize preserving Kerberos ticket via `sudo -E`.
2026-01-02 21:18:51 -08:00
chrisfu
a3b3d83f44 feat(scripts): introduce DNS sync script for Samba AD and hosts management
- Added `init-prole-dns.sh` to sync host records to Samba AD DNS.
- Included a fallback `hosts.txt` for static entries when Postgres is unavailable.
- Script supports operations such as start, stop, sync, status, and flush.
- Integrated cron-based hourly sync functionality.
2026-01-02 20:56:44 -08:00