#34550 - 2002-12-19 03:57 PM
2000 servers, 95/98 clients no mappings
|
samd
Fresh Scripter
Registered: 2002-12-03
Posts: 19
|
I am kinda new to this and think I am missing something. I have downloaded the latest version of Kixtart and copied the kix32.exe, kx16.dll and kx32.dll to the scripts folder on a 2000 server. When I browse to the netlogon share I see them. I have a file called 2000.bat that calls the kix32.exe and I have a script (kixtart.kix) with some mappings. I have entered the bat file name to the accounts profile tab within active directory also (under logon script). When I log on to a 2000 workstation the script runs fine but when I log on to a 95/98 client it shows the kix script screens but no mappings occur. I have the ds client loaded on the workstations too. The user account resides in an OU and not the default users folder if that makes a difference. Any ideas on what to try next??? I'm stumped.
|
|
Top
|
|
|
|
#34552 - 2002-12-19 04:03 PM
Re: 2000 servers, 95/98 clients no mappings
|
samd
Fresh Scripter
Registered: 2002-12-03
Posts: 19
|
Figured I would add the bat file and script syntax: ________________ 2000.bat
@ECHO OFF %0\..\Kix32.exe ________________________
kixtart.kix -
Break off Cls
;--------------->Assign variables for servers and shares
$x="$$" $u="@userid" $hs1="\\haley_serv1\" $hs2="\\haley_serv2\" $pn1="\\pns_serv1\" $pn2="\\pns_serv2\" $APR="APR" $AR4="AR4" $MMS="mms2000" $Tea="Teachers"
;---------------> Migrating Users select case $u="robbinss" $Home=$hs1+$u+$$ $mmsm=$hs1+$mms+$$ case 1
;----------------> If at Port Norris variables if instr(EnumIpInfo(0,0),"172.26.")
$Home=$pn1+$u+$$ $mmsm=$pn1+$mms+$$ $teach=$pn1+$Tea+$$
;----------------> If at Haleyville variables Else $Home=$hs1+$u+$$ $mmsm=$hs1+$mms+$$ $teach=$hs1+$Tea+$$
Endif endselect
;----------------> Map Home Drive use H: $HOME
;----------------> Common Mappings ; Use T: $teach
;----------------> Group Mappings
;--> Haley MMS2000 if ingroup("mms2000") Use m: $mmsm Endif
;--> Haley AR Reader if ingroup("AR4") Use R: $AR4 Endif
;--> PNS APR Group if ingroup("APR") Use R: $APR Endif
sleep 5 cookie1
|
|
Top
|
|
|
|
#34554 - 2002-12-19 05:15 PM
Re: 2000 servers, 95/98 clients no mappings
|
samd
Fresh Scripter
Registered: 2002-12-03
Posts: 19
|
Ok I'm getting closer. I have modified the bat file and made some other changes. Now when the script runs I get the InGroup mappings but nothing else. Does anyone know of a good place for beginners on using debug? Also do I need a kixtart.ini file?? How do you know if you need it??I looked at the debug section but it is a little beyond me. Thanks again for everything!!! [ 19. December 2002, 17:17: Message edited by: samd ]
|
|
Top
|
|
|
|
#34556 - 2002-12-19 06:07 PM
Re: 2000 servers, 95/98 clients no mappings
|
samd
Fresh Scripter
Registered: 2002-12-03
Posts: 19
|
I did figure out how to run the script in debug (kix32 kixtart.kix /d) and when I do using the f8 key everything actually works, it just does not map during logon. I am thinking a timing issue may be occurring. I am looking into the @error commands now, they are new to me. I will keep others posted with what I find out. Thanks again
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 823 anonymous users online.
|
|
|