On Fri, 18 Feb 2000, Audrey Beck wrote:

> duncan wrote:
> > 
> > I want the windows boxes to automatically map their home directory H:
> > and  group driectory G: when they log in each morning. I would like to
> > do this on a user basis rather than per machine .
> > 
> > I have written a basic %U.bat file but it is not executed when the win98
> > user logs in.
> > Here is the %U.bat file called duncan.bat.
> > 
> > NET USE H: \\SAMBA\duncan
> > NET USE G: \\SAMBA\group
> > 
> > It is stored in the /home/netlogon/ directory and can be seen in network
> > neighbourhood. I can run it from there and the drives get mapped, but
> > what I need is for this to happen automatically.
> > 
> > Can anyone help me with this?
> > 
> > Thanks
> > 
> > Dunc
> 
> Your version of windows might be different, but in the windows directory
> there should be a profiles directory with your users in it.  They should
> each have a start menu and in programs group a startup folder.  Why not
> put a shortcut for each user there?

because it's not quite the same, you have to go change all the machines
when you want to map something elsewhere. Have alook at the smb.conf
manpage and do a search on 'logon script' (/logon script^M) setup that and
make sure the [netlogon] share is working. and your all set

-- 
MandrakeSoft          http://www.mandrakesoft.com/
                                        --Axalon

Reply via email to