Switch to systemd automount for /srv/samba/schools/default-school

Replaced pam_mount with systemd automount to manage the mounting of the default school Samba share.
This change improves system integration and simplifies the mount process by leveraging systemd's capabilities.
This commit is contained in:
Raphael Dannecker 2025-07-16 08:02:37 +02:00
parent b6988ef640
commit 9df6c93636
3 changed files with 67 additions and 26 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=K5Start Kerberos Ticket Renewal
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/k5start -f /etc/krb5.keytab -K 1 -u {{ ansible_hostname | upper }}$
[Install]
WantedBy=multi-user.target