[Samba] Logon Scripts
m.o.tigchelaar at kpn.com
m.o.tigchelaar at kpn.com
Thu Mar 7 05:42:08 GMT 2002
Hi,
You can make sure that the logon scripts are run by making your Win2k boxes
log on to the domain (it works for me). If you really do not want your Win2k
boxes to log on to the domain you can also trigger the execution of the
logon script from the Win2k box side.
To do that, do the following:
- Start mmc (Microsoft Management Console)
- check to see if you have the Group Policy snap-in installed
- If Group Policy snap-in is NOT installed:
- - Click File menu -> select "add/remove snap-in"
- - Click "add" button
- - In the list of "available standalone snap-ins" select the "Group Policy"
- - Click "Add"
- - Since you want to apply the (to be) options to the local machine leave
the "group policy object set to "Local Computer"
- - Click "Finish"
- - Click "Close" (unless you want to add more snap-ins)
- - Click "OK"
- Now open "Local Computer Policy"
- Open "User Configuration"
- Open "Windows Settings"
- select "Scripts (logon/logoff)"
- In the right pane double-click on "logon"
- Now specify the script to be run for EVERY (!!!) user after logon to THIS
(!) windows machine...
You can select every script (local and remote) -> so you can also select
your normal logon script on the \\your-pdc\netlogon share....
Don't forget to apply your new settings :-)
I think this solves your problem...;-)
Sincerely,
Martijn Tigchelaar.
-----Original Message-----
From: Michael Erasmus [mailto:MichaelE at execulink.co.za]
Sent: Thursday, March 07, 2002 12:10
To: samba at lists.samba.org
Subject: [Samba] Logon Scripts
I'm running Samba2.2.1 on Mandrake 8.1 with Win95/98/Win2K clients.
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.
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..??
\\\'///
\\ ~ ~ //
( @ @ )
.----oOOo-----(_)-------------.
| Michael Erasmus |
| Systems Administrator |
| Barloworld Optimus |
| South Africa |
| MichaelE at execulink.co.za |
| www.optimusinventory.co.uk |
'---------------------oOOo----'
|__|__|
|| ||
ooO Ooo
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list