Linux – Mount users’ Windows home folders from RHEL6

linuxmountwindows

I've just set up AD authentication with my RHEL6 servers (using SSSD/LDAP/Kerberos). Now I'd like users' Windows home folders to be mounted automatically when they log in to one of the Linux machines.

My problem is that:

-there are far too many users to have entries in /etc/fstab

-users can't mount without superuser privileges, so I can't just put a line in their startup scripts

-there is no pam_mount available for RHEL

-autofs doesn't seem to play nicely with CIFS and Kerberos

Does anyone out there have any suggestions?

Best Answer

Automatically? Haven't sorted that out as CIFS shares need the user to authenticate. A credentials file would be needed and that isn't an option. A work around would be if their home directory is on a SAN that supports NFS, too.

A solution for unpriviledged users mounting in RHEL6 is to add them to the 'fuse' group and use fusermount with AutoFS. (Under Gnome, the gvfs-mount front-end.). (Check out my previous question history on GVFS.)