Page 1 of 1 1
Topic Options
#13231 - 2001-10-15 10:31 PM Problems with Kixtart and Windows Me
Anonymous
Unregistered


I've beeing trying to get a login script to work properly. Here' s what I found so far:

1. The first SHELL command returns nothing, e.g., SHELL "Winset.exe USERNAME=@USERID" returns nothing, but adding it a second time in the script file makes it work.

2. There are several commands that still return nothing. For example, the following commands return nothing:

SHELL "Winset.exe DOMAIN=@DOMAIN"
SHELL "Winset.exe COMMENT=@COMMENT"
SHELL "Winset.exe FULLNAME=@FULLNAME"

3. Unless I use start /w kix32 script.scr in the batch file, I have to click Cancel to terminate the login processor.

The KXRPC service is running on my server and the DLLs (kx16.dll, kx32.dll, kx95.dll) have been copied to C:\Windows\system.

Has anyone else run into similar issues and found a solution? Even though it shouldn't matter, I am running Windows Me French and the server is Windows Nt SP6a English.

TIA

Top
#13232 - 2001-10-16 06:03 AM Re: Problems with Kixtart and Windows Me
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Bonjour, to the board.

Which Kixtart version you are running?

The French language will not be any problem for kixtart. Kixtart will return
the values you are requesting, but the issue about setting environment was
always a item for discussion on the board.
For using an environment variable in the current environment you need to
use kixtart command setl.

Do you get any result with f.e. following code?

code:

? "domain "+@domain
? "comment "+@comment
? "fullname "+@fullname
SHELL "%comspec% /c set"
SETL "domain1=@domain -"
SETL "comment1=@comment -"
SETL "fullname1=@fullname -"
SHELL "%comspec% /c set"


After running above code we get as output
code:

winbootdir=C:\WINDOWS
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
COMSPEC=C:\WINDOWS\COMMAND.COM
TEMP=C:\temp
TMP=c:\temp
PROMPT=$t$h$h$h $p$g
DIRCMD=/l /o:n
USER=MCA
windir=C:\WINDOWS
DOMAIN1= -
COMMENT1= -
FULLNAME1= -

See also KHolm reaction to topic
http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=002285
Read also the information about set, setl and setm in the manual.

Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#13233 - 2001-10-16 06:41 PM Re: Problems with Kixtart and Windows Me
Anonymous
Unregistered


Unfortunately, the suggested code did not return data on my Windows Me PC. On a Windows 2000 PC, Domain and Full Name are displayed, but Comments is not. On a Windows XP PC, everything is displayed.

I added a line to display the @userid to your code. The user name is displayed when I run it from a DOS window, but it is blank if I run it at login time.

I am currently using version 2001 RC3, but I also tried 3.63 with the same results.

[ 16 October 2001: Message edited by: GhislainG ]

Top
#13234 - 2001-10-18 07:20 AM Re: Problems with Kixtart and Windows Me
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

What do you me Windows ME doesn't return anything?
Don't you see something like "domain1= -" as an environment variable.
or you mean: you don't see something like "domain1=my_domain -".

It can be possible that Windows ME doesn't return anything because it is
a Windows 9x clone. Start temporarily the KIXRPC service to check the diffe-
rences.

Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#13235 - 2001-10-19 01:00 AM Re: Problems with Kixtart and Windows Me
Anonymous
Unregistered


I meant that the functions did not return any information, but the environment variables contained a "-" as that's part of the script.

I used Sniffer to determine that info was being returned. I then checked the difference between that PC and other PCs running Windows 95 and 98 and I found out that netapi.dll was missing. Since it only caused problems with Kixtart, that unfortunately wasn't the first place that I checked. After installing the missing netapi.dll, Kixtart works properly.

Thanks for the support.

Top
#13236 - 2001-10-19 06:43 AM Re: Problems with Kixtart and Windows Me
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

When we were looking at an old topic, we find a list of possible requested
DLL's by kixtart. Your missing file was also on that list.
The list was

code:

advapi32.dll
kernel32.dll
mpr.dll
netapi.dll
netapi32.dll
ole32.dll
rasapi32.dll
rpcrt4.dll
user32.dll
version.dll
winmm.dll
wsock32.dll


For the complete story see topic:
http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=001837
We didn't directly think about a missing file, but the enormous amount of time
and knowledge such problem can cost for solving it inspire us.
We are going to check what the impact of missing DLL's for kixtart will be.
Also we are replacing some DLL's with other versions (= other languages).

Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

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 931 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.058 seconds in which 0.03 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