fix(mail,nb): keep pam_krb5 out of the PAM stack #274
No reviewers
Labels
No labels
bug
enhancement
in-progress
needs-info
needs-triage
p0
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/nixos!274
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lab/20260807-0936"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
security.pam.krb5.enabledefaults tosecurity.krb5.enable, so enabling the Kerberos client config onmail(#267) andnb(#269) also injected pam_krb5 into every PAM stack on both hosts. #271 caught this onweb-armand opted out there; these two were missed.nb: an off-VPN login stalls while pam_krb5 tries to reach the KDC before falling through topam_unix— the offline case #269 explicitly set out to keep working. Redundant too: SSSD'sauth_provider = krb5already does the Kerberos auth and puts the ticket in KCM.mail: opens an auth path where a local account matching a principal could log in with its Kerberos password, on the host holding the KDC and the directory.Two lines plus comments; no behaviour change beyond removing pam_krb5.
The pre-commit dry-build did not run for this commit. The shared hook symlink in the bare repo pointed at
worktrees/cloonar-nixos-271, which was removed when that PR's worktree was torn down, so git skipped a dangling hook silently. This sandbox also has nonix, so I could not run it manually. The option name is proven —hosts/web-arm/modules/keycloak/default.nix:106uses it and that host dry-built in #272 — butmailandnbhave not been evaluated with this change. Worth a localscripts/test-configuration mailandnbbefore merging.Closes #273