[Samba] Auto mapping to windows home drives?
Charles Hamel
charles at pingouin.ca
Tue Feb 10 17:00:33 GMT 2004
I don't think so, this feature seems to be intended for windows clients. You
could do a script that rsh or ssh to the client when it logs in and mount the
drive ex: ssh -l user at host "mount -t smbfs servershare -o username=%u". You
would need to put this in the root preexec parameter in smb.conf (check the
man smb.conf for more details).
Charles
On Tue, 10 Feb 2004 16:36:14 -0000, Ganguly, Sapan wrote
> I'm logging into a Linux or Solaris machine running winbind, will it
> work for that?
>
> -----Original Message-----
> From: Charles Hamel [mailto:charles at pingouin.ca]
> Sent: 10 February 2004 16:28
> To: Ganguly, Sapan
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] Auto mapping to windows home drives?
>
> You can add the following lines to your smb.conf file
>
> logon drive = u:
> logon home = \\PDC\homes\%u
>
> the %u is a built-in parameter that contains the current username.
>
> hth
>
> Charles
>
> On Tue, 10 Feb 2004 15:32:27 -0000, Ganguly, Sapan wrote
> > This could be quite simple but I don't know how to do it.
> >
> > Does anyone know how I can automatically mount a users home drive
> > (which is located on a windows server) when they log in? Is there a
> > pam module for that?
> >
> > Thanks very much,
> > Sapan
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
>
> --
> Open WebMail Project (http://openwebmail.org)
--
Open WebMail Project (http://openwebmail.org)
------- End of Forwarded Message -------
--
Open WebMail Project (http://openwebmail.org)
More information about the samba
mailing list