#102324 - 2003-06-24 04:17 PM
win98 or kixtart bug?
|
cb6040
Fresh Scripter
Registered: 2003-06-03
Posts: 14
Loc: FL
|
I wrote a logon script for a network I maintain using kixtart - it's great. i love it. lets me do all sorts of things that make Windows network management more barable.. I seem to have encountered a bug or something with two of our client PCs. The network is a horrible mix of 95/98/NT/2k/XP and the logon script works great for everyone aside from 2 people on Windows 98. Both PCs are patched to the latest as per Windows Update, and they get an error 67 (can't resolve host? hmm?) when trying to map @HOMESHR to the H drive. I set both of them on batch scripts that do net use cmds specifically for them, and that works fine. that's what leads me to believe it could be a kixtart bug, or a bug in windows.
anyone have experience with this? i'm using Kix 4.21 with the RPC services on both of my domain controllers. it's a 250 PC network, no WAN or layer 2 segmenting or anything.. here's the code snippet: code:
if (@HOMESHR) USE H: /delete USE H: @HOMESHR if ((@error <> 0) and (@error <> 85) and (@error <> 1202)) $return = messagebox("Error connecting to the H: drive. Error code: @error", 4103); else ? " ÃÄ H: (" @HOMESHR ")" endif else ? " ÃÄ H: (no home share set)" endif
|
|
Top
|
|
|
|
#102325 - 2003-06-24 04:23 PM
Re: win98 or kixtart bug?
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Are there "spaces" in the @HOMESHR path? IF so, try adding ""'s around the macro. [ 24. June 2003, 16:37: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#102326 - 2003-06-24 04:36 PM
Re: win98 or kixtart bug?
|
cb6040
Fresh Scripter
Registered: 2003-06-03
Posts: 14
Loc: FL
|
no spaces
I did notice that these 2 users have longer usernames than anyone else, one at 18chars the other at 20chars
The path they mount appears to be short, too: \\svr-home\firstname.lastname$
|
|
Top
|
|
|
|
#102327 - 2003-06-24 04:39 PM
Re: win98 or kixtart bug?
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
|
|
Top
|
|
|
|
#102329 - 2003-06-26 09:52 PM
Re: win98 or kixtart bug?
|
cb6040
Fresh Scripter
Registered: 2003-06-03
Posts: 14
Loc: FL
|
sealeopard: I am using @HOMESHR as kix apparently puts the home path in there. would i do this?
@HOMESHR = @HOMESHR + "$";
|
|
Top
|
|
|
|
#102330 - 2003-06-26 10:09 PM
Re: win98 or kixtart bug?
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
No, you would not do that. The home share property of the account should already have the "$" on it if the users share is a hidden share (good practice).
The @homeshr macro will return the contents on the account home directory path property including the "$" if it exists.
|
|
Top
|
|
|
|
#102332 - 2003-06-27 08:18 PM
Re: win98 or kixtart bug?
|
cb6040
Fresh Scripter
Registered: 2003-06-03
Posts: 14
Loc: FL
|
Ah, ok I see that now. I've got 3 people on win98 all having the same problem now, and some people on here said it was a netbios limitation.. that seemed likely with the first 2 users (one has a 19char username, the other 20char) but the 3rd is a short one. so i figured i'd try the other suggestion from sealeapord - which was to double up the $ (i'm assuming that $ is some reserved item in kix and needs to be escaped or something)
it's just odd that these 3 people can't get it and the rest are fine..
|
|
Top
|
|
|
|
#102336 - 2003-06-28 03:10 AM
Re: win98 or kixtart bug?
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
No one said that the three computers with problems were up to date. cb6040 should have one of the problem users logon to a working computer to see if the problem follows the user or if the problem is limited to just those few computers.
|
|
Top
|
|
|
|
#102338 - 2003-06-28 04:33 AM
Re: win98 or kixtart bug?
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Well maybe...I don't really trust Windows update for all those shell and basic networking updates.
Ok...I'm wrong maybe...
Let's see what happens when the the failing user logs on elsewhere and a working user logs on at the bad computers. [ 28. June 2003, 04:33: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#102341 - 2003-07-01 02:51 PM
Re: win98 or kixtart bug?
|
cb6040
Fresh Scripter
Registered: 2003-06-03
Posts: 14
Loc: FL
|
Well, as much as i'd like to try all those, people typically have the same home folder path as their username, but some people share common home folders.. I'll try that to see if that gets it working - but i dont think i can use that as a workable solution.. thanks for the help so far, by the way
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 302 anonymous users online.
|
|
|