sssd rides core: LDAP-sourced identity fleet-wide, additive alongside local lament #119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "sssd"
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?
sssd(id_provider=ldap,auth_provider=krb5) ridescore- every host resolveslament's identity from verdandi's LDAP directory, auth still goes through Kerberos directly rather than an LDAP simple-bindldap_id_use_start_tls = false-openldap.nixdeliberately serves no TLS overinternal(WG is the trust boundary), sssd defaults to StartTLS and fails hard against a server that never offers itsvc-ldapsearch account;environmentFileneedsKEY=valueshape but the sops secret is a bare password, sosops.templateswraps it rather than pointingenvironmentFilestraight at the raw secretcache_credentials/krb5_store_password_if_offline- verified live: pulled minerva's WG interface and logged in through the Proxmox console on the cached ticketlamentUseraccounts are untouched, this is proving the mechanism before any host's local account goes away.sops.yaml/sops/identity.yaml:ldapBindPassword's key group widens to all five hosts now thatsssdneeds it fleet-wide, not just minerva/athena/verdandihomeConfigurationsget their own build step, not just evaluated byflake check-lament@ishtarwas never actually build-checked before thislament@ishtar->lament@desktop(no behavior change, just a name that isn't a lie if a second standalone profile ever exists)tried and reverted this session, worth knowing about even though the diff doesn't show it:
sssd-authenticated NFSv4 (sec=krb5p) shared home dir across the fate hosts + athena, plus splitting those hosts onto standalone home-manager to match. both abandoned - the NFS mount hit a persistent ESTALE that survived every fix tried (fsid=0pseudo-root removal, droppingnconnect, pinning SHA1 Kerberos enctypes around a real kernel GSS bug) and clean reboots of client/server/KDC.systemd-homedwas the fallback idea; ruled out too - it wants to own the user record and its own unlock secret, which fightssssd/LDAP identity, Kerberos-ticket SSH, and standalone HM all at oncelamentaccount entirely and going LDAP-only. blocked hard on two fronts: home-manager's integrated NixOS module readsconfig.users.users.<name>.name/.homedirectly at eval time with no override-safe escape hatch on the pinned rev (nix-community/home-manager#5244, unmerged fix in#6640), and NSS resolution order (filesthensss) means a local account - even a password-less eval-only stub - still wins name-based lookups over LDAP, so sudo/group resolution needs either a local stub kept in sync at the rightgidNumbers or a fleet-wide NSS reorder, neither of which got proven safe tonight. brokesudolive onverdandi, needed two generation-rollback reboots to recover. locallamentUser(password, SSH keys,extraGroups) is unchangedleft for later: the actual local-account removal needs its own low-stakes test pass (not a live host) before touching real access control again - NSS ordering, group GID matching, and the home-manager eval-time coupling all need to be solid first.