#19701 - 2002-04-10 03:33 PM
Re: just started
|
Sealeopard
KiX Master
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
|
Okay, let's go back to square one
First of all, please do this step-by-step, double-checking everything to make sure it works. There is no point in going to step 2) if step 1) doesn't work.
Step 0: Download Kixtart 4.02
Step 1: If you only have a PDC then you will put your script into %SYSTEMDRIVE%\Winnt\System32\Repl\Import\Scripts which is normally mapped as \\PDC\NETLOGON (replace PDC with the name of your PDC)
If you have a PDC and one or more BDC then you will have to put your scripts into %SYSTEMDRIVE%\Winnt\System32\Repl\Export\Scripts and enable replication on the PDC. This will copy the scripts automatically to the 'import' directories of the PDC and all BDCs as soon as the file is changing in %SYSTEMDRIVE%\Winnt\System32\Repl\Export\Scripts.
If you have Windows 9x computers that are logging into the domain, install the Kixtart RPC server on all domain controllers as per manual or use the XNET example script in the Kixtart download to install the RPC server.
DO NOT USE KIXTART 4.10b1 BECAUSE IT IS BETA AND NOT TO BE USED IN A PRODUCTION ENVIRONMENT!!!
Check out http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=10;t=000024
Step 2: Create a simple login batch file like LOGIN.BAT:
code:
ECHO Running login script
PAUSE
Put it into the appropriate directory based on step 1) and check it is getting replicated. Assing the script LOGIN.BAT as the login script to a test user in the 'User Manager for Domains'
Step 3: Log in with the test user from a workstation and make sure that the login script runs.
Step 4: Modify the login script LOGIN.BAT to
code:
ECHO Running Kixtart login script
%0\..\KIX32.EXE %0\..\LOGIN.KIX
PAUSE
Copy KIX32.EXE, KX*.DLL into the appropriate directory based on step 1) and check it is getting replicated. Create a text file called LOGIN.KIX containing the lines
code:
? 'Kixtart Login Script' ? 'Username : ' + @USERID ? 'Computer : ' + @WKSTA
Step 5: Log in with the test user from a workstation and make sure that the login script runs.
Step 6: Success, have a beer, report back to the BBs that it's working
Step 7: Get fancy, modify the script for drive and printer mappings
Step 8: Browse the BBS for more advanced login script features
Step 9: Get Kixtart to brew a cup of coffee for you [ 10 April 2002, 18:31: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.
|
Top
|
|
|
|
#19703 - 2002-04-10 04:09 PM
Re: just started
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
It can take about 15 minutes to replicate in most cases. Make sure the replicator is enabled under services. If it is, check the event log for errors. If everything seems to be working properly, then check \\lserver\netlogon to see if the files are available. If still no luck, try stopping and restarting replicator services on your DCs.
Brian
|
Top
|
|
|
|
#19708 - 2002-04-10 06:18 PM
Re: just started
|
Chris S.
MM club member
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
Jens, there was a syntax error in your Logon.bat snipet. The correct change to logon.bat should read:
code:
ECHO Running Kixtart login script %0\..\KIX32.EXE %0\..\LOGIN.KIX PAUSE
[ 10 April 2002, 18:20: Message edited by: Chris S. ]
|
Top
|
|
|
|
#19710 - 2002-04-10 07:15 PM
Re: just started
|
bowhuntr
Fresh Scripter
Registered: 2002-02-18
Posts: 33
|
I know this seems basic, but did you go back before starting Sealeopard's plan and change the profile logon script name to login.bat for the test user?
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 515 anonymous users online.
|
|
|