Dotfiles/setup/modules
Amir Alexander Abdelbaki 76c3c2c1c5 feat(ansipa): add usr_smb_* and dev_ssh_* policies
usr_smb_r_<name> / usr_smb_rw_<name> (user groups):
- Server creates /data/smb-shares/<name>/ with smb-<name> system user,
  setgid directory, and Samba share stanzas [usr-<name>-r/rw] on startup
- Auto-generates credentials and stores them in IPA group descriptions
  (cifs://<host>:<samba-user>:<password>) so no out-of-band secret distribution
- Client mounts //ipa/<share> at ~/‹name› for logged-in members;
  rw membership wins over r when user is in both groups
- Revert: unmounts and rmdir the mount point on group leave

dev_ssh_<userid> (host group):
- Reads IPA user's SSH public keys (ipasshpubkey / --all output)
- Writes them into /home/<userid>/.ssh/authorized_keys in an
  ansipa-managed section (preserves manually-added keys)
- Home dir is created if it doesn't exist (user may not have logged in yet)
- Revert: removes only the ansipa-managed section on group leave
- Enables same-key SSH access from any registered device to enrolled hosts

Also: add cifs-utils + openssh-server to Ansible package list

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DHops6PU4c2Mv5UyhUj8Ms
2026-07-01 13:52:26 +02:00
..
Desktop-Environments fix(hyprland,niri): correct Vicinae theme + config deployment 2026-06-27 23:32:20 +02:00
FreeipaAnsible feat(ansipa): add usr_smb_* and dev_ssh_* policies 2026-07-01 13:52:26 +02:00
lib fix(modules): make service/session ops chroot-safe to prevent install aborts 2026-06-26 20:58:37 +02:00
optional-Modules/apps fix(modules): guard remaining interactive prompts for unattended installs 2026-06-27 02:09:04 +02:00
core-packages.sh fix(core-packages): make PipeWire the jack/pulse provider to avoid DE conflict 2026-06-27 13:25:49 +02:00
core.sh fix(modules): resolve rust/rustup conflict and greetd config-dir abort 2026-06-27 04:15:36 +02:00
package-managers.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
shell-setup.sh fix(shell-setup): set default shell without a password prompt 2026-06-27 02:13:32 +02:00