Samba mount at Login?

Shaun Cloherty s.cloherty at gsbme.unsw.edu.au
Tue Apr 3 04:54:04 GMT 2001


Eric Kadison wrote:

> Urban,
>
> Thanks for your quick reply.  See issues below:
>
> >
> > > Can someone tell me how to set up a mount to occur
> > automatically on login?
> > > I have one directory per user on a Win network and I'd like
> > each user to get
> > > his own directory mounted when he logs in.

We use pam_mount to achieve exactly this. From the samba-technical archive;


> This PAM module does dynamic mounting of remote (SMB/NCP) volumes for a user
> session. It reuses the login password (so the user does not need to type it
> n
> times) and unmounts the volumes at logout.
>
> The tarball and RPM packages can be found at
> http://bazar.conectiva.com.br/~epx/pam_mount

Combined with pam_winbind, these pam_mount provide a powerful means of
leveraging Linux into an NT dominated organization.

Shaun






More information about the samba mailing list