Page 1 of 1 1
Topic Options
#41804 - 2003-06-19 09:34 AM kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
hi everyone,
i am new with the kixtart thing :-))) we have a w2k domain, some samba servers and with some win98 workstations. i built a script which checks where the user is and this script is starting another script where the mappings were executed. with the w2k clients everything is working well, but the win98 clients execute the scripts but no mappings are shown on the clients...

i read kix is working with win98 clients?!?!?! can anyone help me????

thanx,
marciano

Top
#41805 - 2003-06-19 10:02 AM Re: kixtart and Win98
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
you are missing a quote
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#41806 - 2003-06-19 10:07 AM Re: kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
which quote???
Top
#41807 - 2003-06-19 10:49 AM Re: kixtart and Win98
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
on the 26th line
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#41808 - 2003-06-19 10:55 AM Re: kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
sorry,
but now i am a little bit confused [Confused] 26th line?!?!?

PLEASE, explain what you are talking about !!!!

marciano

Top
#41809 - 2003-06-20 12:44 AM Re: kixtart and Win98
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I would bet that you have no script example how you call it.

yes, kixtart works with even dos.
but without seeing anything it's kinda hard to quess what could be wrong.
_________________________
!

download KiXnet

Top
#41810 - 2003-06-20 12:44 AM Re: kixtart and Win98
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
the problem with your script...

I'm using my psychic powers and have determined that the problem with your script is a missing quote on the 26th line of code.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#41811 - 2003-06-19 01:36 PM Re: kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
ok... here is the first script. this one checks the group and will start the script for the actually group...

; Logonscript Lüchau Baustoffe
; by mbk-networks vers. 2003 / Marcus Freese

global $ginuse

$ginuse=0

use * /delete

:wedel

if ingroup ("wedel") = 1
call "kixtart1.kix"
$ginuse = 1
goto "hamburg-vol"
endif

:hamburg-vol
if ingroup ("hamburg-volkspark") = 1
call "kixtart2.kix"
$ginuse = 1
goto "elmshorn"
endif


:elmshorn

if ingroup ("elmshorn") = 1
call "kixtart3.kix"
$ginuse = 1
goto "hamburg-wands"
endif

:hamburg-wands

if ingroup ("hamburg-wandsbek") = 1
call "kixtart4.kix"
$ginuse = 1
goto "halstenbek"
endif

:halstenbek

if ingroup ("halstenbek") = 1
call "kixtart5.kix"
$ginuse = 1

endif

sleep 10

exit

... and this is the next one :

; Logonscript Lüchau Baustoffe HALSTENBEK
; by mbk-networks vers. 2003 / Marcus Freese

global $ginuse

$ginuse=0



at (10,1) "Welcome to Wedel.Luechau.netz"
at (11,1) "your current Logonserver is :"
at (12,1) "you're working at :"
at (13,1) "running Operating System :"
at (14,1) "with IP lease :"
at (15,1) "authenticated to Domain :"
at (16,1) "with Username :"
at (17,1) "your current privilege is :"
settime "\\DC01"
at (18,1) "Your time has been synchronised to DC01:"

at (11,30) @LSERVER
at (12,30) @wksta

if @dos= "5.0"
at (13,30) "Windows 2000"
else
at (13,30) "Windows NT 4.0"
endif

at (14,30) @IPADDRESS0
at (15,30) @domain
at (16,30) @userid
at (17,30) @priv
at (18,50) @time
sleep 3







use * /delete



:baumarkt

if ingroup ("Baumarkt") = 1
use p: "\\dc01\abt\baumarkt"
$ginuse = 1
endif

if ingroup ("baumarkt") =1
if $ginuse=0
use g: "\\dc01\abt\baumarkt"
$ginuse = 1
goto "buchhaltung"
else
use j: "\\dc01\abt\baumarkt"
$ginuse = 2
endif
endif
:Buchhaltung
if ingroup ("Buchhaltung") = 1
if $ginuse = 0
use p: "\\dc01\abt\buchhaltung"
$ginuse = 1
goto "Edv"
endif
if $ginuse = 1
use j: "\\dc01\abt\buchhaltung"
$ginuse = 2
goto "Edv"
endif
if $ginuse = 2
use k: "\\dc01\abt\buchhaltung"
$ginuse = 3
endif
endif

:EDV

if ingroup ("Edv") = 1
if $ginuse = 0
use p: "\\dc01\abt\edv"
$ginuse = 1
goto "Elemente"
endif
if $ginuse = 1
use j: "\\\\dc01\abt\edv"
$ginuse = 2
goto "Elemente"
endif
if $ginuse = 2
use k: "\\dc01\abt\edv"
$ginuse = 3
endif
endif
:Elemente

if ingroup ("Elemente") = 1
if $ginuse = 0
use p: "\\dc01\abt\Elemente"
$ginuse = 1
goto "Geschäftsleitung"
endif
if $ginuse = 1
use j: "\\dc01\abt\Elemente"
$ginuse = 2
goto "Geschäftsleitung"
endif
if $ginuse = 2
use k: "\\dc01\abt\Elemente"
$ginuse = 3
endif
endif

:Geschäftsleitung

if ingroup ("Geschäftsleitung") = 1
if $ginuse = 0
use p: "\\dc01\abt\Elemente"
$ginuse = 1
goto "Personal"
endif
if $ginuse = 1
use j: "\\dc01\abt\Elemente"
$ginuse = 2
goto "Personal"
endif
if $ginuse = 2
use k: "\\dc01\abt\Elemente"
$ginuse = 3
endif
endif
:Personal

if ingroup ("personal") = 1
if $ginuse = 0
use p: "\\dc01\abt\Personal"
$ginuse = 1
goto "sek"
endif
if $ginuse = 1
use j: "\\dc01\abt\Personal"
$ginuse = 2
goto "sek"
endif
if $ginuse = 2
use k: "\\dc01\abt\Personal"
$ginuse = 3
endif
endif
:Sek

if ingroup ("sek") = 1
if $ginuse = 0
use p: "\\dc01\abt\sek"
$ginuse = 1
goto "verkauf"
endif
if $ginuse = 1
use j: "\\dc01\abt\sek"
$ginuse = 2
goto "verkauf"
endif
if $ginuse = 2
use k: "\\dc01\abt\sek"
$ginuse = 3
endif
endif
:Verkauf

if ingroup ("verkauf") = 1
if $ginuse = 0
use p: "\\dc01\abt\verkauf"
$ginuse = 1

endif
if $ginuse = 1
use j: "\\dc01\abt\verkauf"
$ginuse = 2
11:32 11.06.2003
endif
if $ginuse = 2
use k: "\\dc01\abt\verkauf"
$ginuse = 3
endif
endif

sleep 4

exit

Top
#41812 - 2003-06-19 02:26 PM Re: kixtart and Win98
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
windows9x CANNOT map below root. Read the FAQ forum, as this has been documented extensively.

it cannot do: use k: "\\dc01\abt\verkauf"
the best it can do is: use k: "\\dc01\abt"
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#41813 - 2003-06-19 02:27 PM Re: kixtart and Win98
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
BTW.. take out the goto's they aren't needed
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#41814 - 2003-06-19 03:20 PM Re: kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
THANX [Big Grin]
Top
#41815 - 2003-06-19 09:38 PM Re: kixtart and Win98
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
If you have any NT or ME clients, deep mapping won't work with them either.
_________________________
Jack

Top
#41816 - 2003-06-20 04:16 AM Re: kixtart and Win98
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You should also indent your code so it is easier to read.

And, yeah, GOTO's are evil, and the way you are using them they are even not necessary.
_________________________
There are two types of vessels, submarines and targets.

Top
#41817 - 2003-06-20 11:36 AM Re: kixtart and Win98
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
I did not VALIDATE your code, but I did clean it up some.
Remember what Radimus said about the DEEP MAPPING issue.
Your NT 4.0 system will not map there.






; Logonscript Lüchau Baustoffe
; by mbk-networks vers. 2003 / Marcus Freese and the Guys at KiXtart.org

global $ginuse

$ginuse=0
use * /delete
if ingroup ("wedel") = 1
call "kixtart1.kix"
$ginuse = 1
endif

if ingroup ("hamburg-volkspark") = 1
call "kixtart2.kix"
$ginuse = 1
endif

if ingroup ("elmshorn") = 1
call "kixtart3.kix"
$ginuse = 1
endif

if ingroup ("hamburg-wandsbek") = 1
call "kixtart4.kix"
$ginuse = 1
endif

if ingroup ("halstenbek") = 1
call "kixtart5.kix"
$ginuse = 1
endif

sleep 10
; Not sure why you have a 10 second sleep. You trying to upset your users?
exit @ERROR




; Logonscript Lüchau Baustoffe HALSTENBEK
; by mbk-networks vers. 2003 / Marcus Freese and the Guys at KiXtart.org

global $ginuse
$ginuse=0
at (10,1) "Welcome to Wedel.Luechau.netz"
at (11,1) "your current Logonserver is :"
at (12,1) "you're working at :"
at (13,1) "running Operating System :"
at (14,1) "with IP lease :"
at (15,1) "authenticated to Domain :"
at (16,1) "with Username :"
at (17,1) "your current privilege is :"
settime "\\DC01"
at (18,1) "Your time has been synchronised to DC01:"

at (11,30) @LSERVER
at (12,30) @wksta

if @dos= "5.0"
at (13,30) "Windows 2000"
else
at (13,30) "Windows NT 4.0"
endif

at (14,30) @IPADDRESS0
at (15,30) @domain
at (16,30) @userid
at (17,30) @priv
at (18,50) @time
sleep 3

use * /delete

if ingroup ("Baumarkt") = 1
use p: "\\dc01\abt\baumarkt"
$ginuse = 1
endif

if ingroup ("baumarkt") = 1
if $ginuse=0
use g: "\\dc01\abt\baumarkt"
$ginuse = 1
else
use j: "\\dc01\abt\baumarkt"
$ginuse = 2
endif
endif


if ingroup ("Buchhaltung") = 1
if $ginuse = 0
use p: "\\dc01\abt\buchhaltung"
$ginuse = 1
endif
if $ginuse = 1
use j: "\\dc01\abt\buchhaltung"
$ginuse = 2
endif
if $ginuse = 2
use k: "\\dc01\abt\buchhaltung"
$ginuse = 3
endif
endif

if ingroup ("Edv") = 1
if $ginuse = 0
use p: "\\dc01\abt\edv"
$ginuse = 1
endif
if $ginuse = 1
use j: "\\\\dc01\abt\edv"
$ginuse = 2
endif
if $ginuse = 2
use k: "\\dc01\abt\edv"
$ginuse = 3
endif
endif

if ingroup ("Elemente") = 1
if $ginuse = 0
use p: "\\dc01\abt\Elemente"
$ginuse = 1
endif
if $ginuse = 1
use j: "\\dc01\abt\Elemente"
$ginuse = 2
endif
if $ginuse = 2
use k: "\\dc01\abt\Elemente"
$ginuse = 3
endif
endif

if ingroup ("Geschäftsleitung") = 1
if $ginuse = 0
use p: "\\dc01\abt\Elemente"
$ginuse = 1
endif
if $ginuse = 1
use j: "\\dc01\abt\Elemente"
$ginuse = 2
endif
if $ginuse = 2
use k: "\\dc01\abt\Elemente"
$ginuse = 3
endif
endif

if ingroup ("personal") = 1
if $ginuse = 0
use p: "\\dc01\abt\Personal"
$ginuse = 1
endif
if $ginuse = 1
use j: "\\dc01\abt\Personal"
$ginuse = 2
endif
if $ginuse = 2
use k: "\\dc01\abt\Personal"
$ginuse = 3
endif
endif

if ingroup ("sek") = 1
if $ginuse = 0
use p: "\\dc01\abt\sek"
$ginuse = 1
endif
if $ginuse = 1
use j: "\\dc01\abt\sek"
$ginuse = 2
endif
if $ginuse = 2
use k: "\\dc01\abt\sek"
$ginuse = 3
endif
endif

if ingroup ("verkauf") = 1
if $ginuse = 0
use p: "\\dc01\abt\verkauf"
$ginuse = 1
endif
if $ginuse = 1
use j: "\\dc01\abt\verkauf"
$ginuse = 2
endif
if $ginuse = 2
use k: "\\dc01\abt\verkauf"
$ginuse = 3
endif
endif

sleep 4

exit @error


Top
#41818 - 2003-06-20 11:52 AM Re: kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
thanx for your help :-)))

...but i have still a problem!!! we have 1 dc and 2 samba and some win9x clients . the script isn´t working well with the 98x clients. i put the .dlls that i needed for the 9x clients into the logon at the dc and now i see the logoninformation on the 9x clients... but no mappings are made.

is this with deep mappings? what are deep mappings?? or is it the local_group thing???

sorry for the stupid questions but i am really new with the kix ;-)

[Confused]

Top
#41819 - 2003-06-20 11:58 AM Re: kixtart and Win98
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
This is NOT a KiXart issue, it is a Microsoft network redirector issue.

Please read the following LONG topic on this mapping issue.

PLEASE HELP WITH MAPPING HOME DIRECTORY

Also, make sure you have ALL PDC/BDC syncronized and the KXRPC service is installed on all of them.

You may also be able to look in the %temp% folder on the Windows 9x computers for a KiXtart log that may show some error.

Top
#41820 - 2003-06-21 12:23 AM Re: kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
did i say that the home drives are on a samba ??

is it a bigger problem and is it able to do it like this?

i´ve read this post, i´ll try something... but i am totally confused ...

marciano

Top
#41821 - 2003-06-21 12:41 AM Re: kixtart and Win98
MarcianoFlauschi Offline
Fresh Scripter

Registered: 2003-06-19
Posts: 8
Loc: Hamburg, Germany
@NTDOC

THAANNNNNX !!!!!!!!! [Cool]

I got it !!!!!!!!

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.077 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org