Mount users' Windows home folders from RHEL6

aynsof asked:

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?

My answer:


pmount allows users to mount filesystems without root access or an /etc/fstab entry. It is available in the EPEL repository. I don’t think it’s a complete solution for you, but it may get you at least part of the way there.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.