[Samba] Auto mounting NT shared Home Directories

Urban Widmark urban at teststation.com
Sat Apr 13 02:04:01 GMT 2002


On Fri, 12 Apr 2002, Rob Keeling wrote:

> I have set up samba 2.2.3a with winbind to join SuSE linux 7.3 machines
> into our NT 4 domain, but would like to be able to set up Linux thin client machines
> to allow transparent use of either windows or Linux desktops. To accheve this I need
> to be able to access our Home directory shares from both systems, the best way for
> us to go at the moment is to find a way of getting linux to automount the users home 
> directory on logon. All our users have a share on one of three NT servers which coresponds
> to their username. What I would like to do is find some way of on logon /home/(whatever) is
> mapped to a smb share of //server/(whatever)$. as we have 1200 user accounts setting this
> up needs to be rule based!

autofs has executable maps where it runs a program when you try to access
something. So you could write a script to determine what to mount.

pam_mount could also be an option.

/Urban





More information about the samba mailing list