Page 1 of 2 12>
Topic Options
#44260 - 2003-08-20 02:05 PM General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
I'm not sure where this should go or if it's worth posting but I need some help. Is there anything particular I should look for when Kix32 will not execute properly for a given user?

More specifically, I can create a script like this...

code:
? "Hello World" ?
Sleep 10
? "Finished!" ?
Exit

And it will work fine for everyone but one user. When that one user logs in, all that happens is a brief command window flashes with an error message and dissappears. I've tried adding DEBUG ON at the top, but it makes no difference. What's really odd is that if the user forces the script from a command window or from Start/Run it works fine. It only dies during a logon and on any workstation (2000 or XP). Anything I should look for?
_________________________
silence is golden, but duct tape is silver

Top
#44261 - 2003-08-20 02:07 PM Re: General Problem with 4.21?
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Did you try to put an -

@error+' - '+@serror

?

To see what the error state is.

Also, what is the other code leading to this?

Kent

[ 20. August 2003, 14:08: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#44262 - 2003-08-20 02:08 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
No I didn't. Where should I put that, at the beginning or end or in the middle?
_________________________
silence is golden, but duct tape is silver

Top
#44263 - 2003-08-20 02:12 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
nope.
this seems that there is something different with that user.

it indeed looks like kixtart is unable to find the script.
check the users logonscript entry in usermanager and what OS he uses.

also, if you use batch file to call kix, check that out too.

anyway, the entry in usermanager is my quess.
_________________________
!

download KiXnet

Top
#44264 - 2003-08-20 02:14 PM Re: General Problem with 4.21?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Well, I would start with the obvious and fireup usrmgr and compare the loginscript path for this user with a working user, then would compare group memberships between this user and a good user. Work your way from beginning to end. Sounds to me like your kixscript isn't being executed at all. Might check the BAT file that launches it.

-Shawn

Top
#44265 - 2003-08-20 02:17 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
The network is NT4, and the user has tried on XP and 2000 workstations with the same result, even with the basic "Hello World" script as kixtart.kix. The usermgr profile shows "Kix32" as the logon script, which is the same as all other users. The user is a member of Domain Admins as well. It's weird that it only bombs out on the initial login. Once it fails, if they call it %logonserver%\netlogon\kix32 it works fine.
_________________________
silence is golden, but duct tape is silver

Top
#44266 - 2003-08-20 02:17 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
heh, repeat is the mother of... children! [Big Grin]
_________________________
!

download KiXnet

Top
#44267 - 2003-08-20 02:18 PM Re: General Problem with 4.21?
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Our good friend Les offers some good advice..

Catch that error message that flashes for a second

KiXtart FAQ & How to's

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#44268 - 2003-08-20 02:19 PM Re: General Problem with 4.21?
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
If we go back to the title of this post, had this worked before for him?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#44269 - 2003-08-20 02:31 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the error that flashes:
"could not find/open script"
_________________________
!

download KiXnet

Top
#44270 - 2003-08-20 02:32 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Yes, it worked fine a day before and the scripts were not changed in between. I tried wrapping the call within a logon.bat file using %logonserver%\netlogon\kix32 %logonserver%\netlogon\kixtart.kix with BREAK ON added at the top. Still bombs out too quickly to capture the error. I can only see a millisecond display and enough to see that there is some error message in white text on the black console background, but not long enough to read it. PAUSE doesn't seem to have any effect either.

The error message appears to be longer than that.

[ 20. August 2003, 14:33: Message edited by: DaveS ]
_________________________
silence is golden, but duct tape is silver

Top
#44271 - 2003-08-20 02:33 PM Re: General Problem with 4.21?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
You have this for the loginpath:

%logonserver%\netlogon\kix32

or do you have more ? If this is all you got, then your relying on Kixtart's default behavior for finding files, which looks for %username%.kix then kixtart.kix, but what happens if you fully qualify the path for this user ?

Top
#44272 - 2003-08-20 02:37 PM Re: General Problem with 4.21?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Based on your description of the problem of the problem following a single user across NON-Win9x clients, I suspect a problem related to permissions and the user. Please check the permissions on the users HOME share and directories.

When the DOS window for the logon script opens, it does so in the user's home directory. If the user does not have permissions then the starting application aborts.

[ 20. August 2003, 15:08: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#44273 - 2003-08-20 02:42 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sure?
doh, that would be awesome.

so making a bookie address for homedir in usermanager will disable logonscript for user if bat-file used?
_________________________
!

download KiXnet

Top
#44274 - 2003-08-20 02:53 PM Re: General Problem with 4.21?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Yes I am sure, I have seen in many times when home directories are moved from server to server or new home shares are creatred and perms are not correct.

The user has to be able to connect to the specified share but not have permissions on the underlying directory structure.

[ 20. August 2003, 15:03: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#44275 - 2003-08-20 03:13 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that's why leaving the value blank is good choise.

anyway, thanks. learned something today too [Big Grin]
_________________________
!

download KiXnet

Top
#44276 - 2003-08-20 04:16 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Here is an event log I've managed to uncover for this user on every machine they log onto. Hopefully it will shine a light on the possible culprit and someone can point me in the right direction?

Event Type: Audit Failure
Event Source: Security
Event Category: Privilege Use
Event ID: 577
Date: 8/20/2003
Time: 9:58:01 AM
User: rodriguezm
Computer: SYSTEM1
Description:
Privileged Service Called:
Server: Security
Service: -
Primary User Name: rodriguezm
Primary Domain: AMSEC
Primary Logon ID: (0x0,0x2331ACD)
Client User Name: -
Client Domain: -
Client Logon ID: -
Privileges: SeIncreaseBasePriorityPrivilege
Data:
_________________________
silence is golden, but duct tape is silver

Top
#44277 - 2003-08-20 04:20 PM Re: General Problem with 4.21?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
access denied.

could you check on the users.
what groups they belong to and this user does not.
_________________________
!

download KiXnet

Top
#44278 - 2003-08-20 04:22 PM Re: General Problem with 4.21?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
See http://www.eventid.net/display.asp?eventid=577&source=security

So, is this happening for one user on different computers of for the one user on the same computer?

Is that user able to run a simple login batch script (no KiXtart at all) that only contains something like
code:
echo testing login script

pause

_________________________
There are two types of vessels, submarines and targets.

Top
#44279 - 2003-08-20 05:34 PM Re: General Problem with 4.21?
Skatterbrainz Offline
Starting to like KiXtart

Registered: 2002-10-17
Posts: 172
Loc: Virginia, USA
Same (one) user on any workstation. Haven't tried a "plain" bat file yet. If I could get the command window to stay up long enough to read the stupid error I could do more I'm sure. I've tried DEBUG ON, but it ignores it until the script is called "manually" (as opposed to invoked during logon). The script runs perfectly fine when called "manually" by this user. It only fails during the logon.

[ 20. August 2003, 17:38: Message edited by: DaveS ]
_________________________
silence is golden, but duct tape is silver

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 255 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.078 seconds in which 0.025 seconds were spent on a total of 14 queries. Zlib compression enabled.

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