[Samba] Logon Scripts

Buchan Milne bgmilne at cae.co.za
Thu Mar 7 05:22:04 GMT 2002


> Message: 21
> From: "Michael Erasmus" <MichaelE at execulink.co.za>
> To: <samba at lists.samba.org>
> Date: Thu, 7 Mar 2002 13:09:32 +0200
> Organization: EXECuLINK
> Subject: [Samba] Logon Scripts
> 
> I'm running Samba2.2.1 on Mandrake 8.1 with Win95/98/Win2K clients.

Mandrake has supplied samba-2.2.2-3.4mdk or so in updates for 8.1 
(supporting win2ksp2 and winxp domain members), you probably want to 
ensure the other software on your machine is up-to-date also.

> 
> It is not necessary for Win2K clients to log on to the Domain to access
> the network which means that the logon scripts are not always run. When
> the clients access machines via the network it prompts for a username
> and password and you carry on working.
> 

The login scripts won't be run unless the client in logging into the 
domain. Your users won't be prompted for passwords then either (if all 
your machines are domain members), and you don't need to worry about 
local accounts ...

> Our Anti-Virus is updated on the client side using logon scripts. I've
> configured Samba so that the scripts run per user and machine but it
> still doesn't force a Win2k client to run the script. 
> 
> I have to implement it on the server to ensure all the clients run the
> scripts.
> Is there a way that I can force Win2K clients to run the scripts..??

When clients log into the domain, using :

logon script = <path to batch file>
in your smb.conf file.


where <path to batch file> is relative to your netlogon share.

You may want to investigate using ntlogon (in Mandrake contribs) for 
generating scripts on the fly per-user, per-os, per-group etc.


-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                       http://ranger.dnsalias.com/gpg.key





More information about the samba mailing list