[olug] SMB automount user directories

Eric Penne epenne at olug.org
Tue May 27 20:18:44 UTC 2003


Situation:
Logging into a linux desktop machine needs to auto mount the users network
directory from an NT4 machine.  It needs to unmount the directory after
logging out.

So far:
I installed libpam-mount and it does the basics of what I want it to do. 
It can also support using passwords that don't match the desktop machines
password and can then decrypt the remote password transparently for
security.   It uses a global conf file and a user conf file for settings
and what directories to mount on login.  I want to put a generic user conf
file in each users home directory.  The generic conf file would mount
//nt_le/ericp$ to /home/ericp/fileserver/ by using variables like $USER
instead.  The conf file is not a script though and can't be fed $USER or
is being called before $USER is set.  Is this feasible or would it be
better to put everybody on that desktop machine (could be 3-4 people) and
their associated shares in the global conf file?  I'm a temporary here so
I would like to make it easy to remember and configure and easy to
document.

Are there other solutions to what I'm trying to do?

Is it possible for a linux desktop to use the NT machine for logging in? 
Does this require a change of configuration on the NT machine?  I'm not
allowed to go into the server room any more because I'm a "security risk"
and I want to run this through some testing before I push it into a
production environment.  I can mount the shares on the NT machine right
now without any problems.

Thanks
Eric




More information about the OLUG mailing list