Hi, I try to mount the samba shares with pam_mount automaticly on login (home folder). I think pam had a problem with the kerberos ticket? The error 126? I tested it with debian/wheezy and Xubuntu 14.04 LTS. The manual mount work,... Bye Gregor (pam_mount.c:554): pam_mount 2.13: entering session stage reenter password for pam_mount: (misc.c:39): Session open: (ruid/rgid=0/1000000, e=0/1000000) (mount.c:267): Mount info: globalconf, user=gburck <volume fstype="cifs" server="edfs001.mvz.ffm" path="users\gburck" mountpoint="/home/MVZ/gburck" cipher="(null)" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="sec=krb5,workgroup=MVZ" /> fstab=0 ssh=0 (mount.c:659): This is a crypto-type volume. Key decoding deferred to mount.crypt. command: 'mount' '-t' 'cifs' '//edfs001.mvz.ffm/users\gburck' '/home/MVZ/gburck' '-o' 'user=gburck,uid=1000001,gid=1000000,sec=krb5,workgroup=MVZ' (misc.c:39): set_myuid : (ruid/rgid=0/1000000, e=0/1000000) (misc.c:39): set_myuid : (ruid/rgid=0/1000000, e=0/1000000) (mount.c:72): Messages from underlying mount program: (mount.c:76): mount error(126): Required key not available (mount.c:76): Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (mount.c:722): could not remove /home/MVZ/gburck again: Das Verzeichnis ist nicht leer (mount.c:556): 14 20 0:13 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw (mount.c:556): 15 20 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw (mount.c:556): 16 20 0:5 / /dev rw,relatime - devtmpfs udev rw,size=10240k,nr_inodes=256052,mode=755 (mount.c:556): 17 16 0:10 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000 (mount.c:556): 18 20 0:14 / /run rw,nosuid,noexec,relatime - tmpfs tmpfs rw,size=206116k,mode=755 (mount.c:556): 20 1 9:0 / / rw,relatime - ext4 /dev/disk/by-uuid/d8ae89f0-c9ed-4b20-9c39-eb03dba65b9b rw,errors=remount-ro,user_xattr,barrier=1,data=ordered (mount.c:556): 21 18 0:16 / /run/lock rw,nosuid,nodev,noexec,relatime - tmpfs tmpfs rw,size=5120k (mount.c:556): 22 18 0:17 / /run/shm rw,nosuid,nodev,noexec,relatime - tmpfs tmpfs rw,size=412220k (mount.c:556): 23 18 0:18 / /run/rpc_pipefs rw,relatime - rpc_pipefs rpc_pipefs rw (mount.c:556): 24 15 0:19 / /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime - binfmt_misc binfmt_misc rw (mount.c:556): 26 20 11:0 / /media/cdrom0 ro,nosuid,nodev,noexec,relatime - iso9660 /dev/sr0 ro (pam_mount.c:522): mount of users\gburck failed command: 'pmvarrun' '-u' 'gburck' '-o' '1' (misc.c:39): set_myuid : (ruid/rgid=0/1000000, e=0/1000000) (misc.c:39): set_myuid : (ruid/rgid=0/1000000, e=0/1000000) (pmvarrun.c:258): parsed count value 0 (pam_mount.c:441): pmvarrun says login count is 1 (pam_mount.c:646): done opening session (ret=0)