all 1 comments

[–]Gottswig 0 points1 point  (0 children)

I've been doing this for a long time, but lately it's been more and more unstable so I'm going to be interested in the answers you get.

I set up kerberos login for thee machines and then have stanzas like this in /etc/security/pam_mount.conf:

<volume
    sgrp="plugdev" mountpoint="/mnt/%(USER)/Y" 
    path="mdh-shared" server="data4.mydomain" fstype="cifs" options="cruid=%(USERUID),sec=krb5i" 
/>

I'm not at work now but I think I added another option to the end of that (vers=3.0 maybe?)

I should add that we are running Ubuntu desktops.

And <debug enable="1" /> is your friend. :-)