The pam_mount module allows users to have NCP™ (NetWare®), SMB (Windows/Samba), NFS, or loopback-encrypted volumes mounted on login, using the same passwords they typed to log in. A remote volume can even be used as a user’s $HOME directory. Volumes mounted this way are automatically unmounted on logout.
Figure B-20 pam_mount Utility

pam_mount has the following two configuration files:
Global configuration file.
Per user configuration file.