Switch from pam_mount to a multiuser cifs mount

This commit is contained in:
Gašper Fele-Žorž 2025-10-24 17:11:25 +02:00
parent 7cea32ecba
commit 8b96036196
4 changed files with 37 additions and 9 deletions

View file

@ -0,0 +1,3 @@
[Service]
Type=forking
ExecStart=/usr/bin/k5start -f /etc/krb5.keytab -U -k /tmp/krb5cc_0 -o root -b -K 60 -v -L

View file

@ -9,7 +9,7 @@
server="ucilnicesmb.fri1.uni-lj.si"
path="profiles/%(DOMAIN_USER).%(DOMAIN_NAME)"
mountpoint="~/"
options="sec=krb5i,cruid=%(USERUID),nobrl,sfu,mfsymlinks"
options="sec=krb5i,cruid=%(USERUID),nobrl,sfu,mfsymlinks,dir_mode=0700,file_mode=0700,cache=loose,nostrictsync"
>
<not>
<or>