#24887 - 2002-07-11 08:52 PM
@hostname and WinXP missing. need help.
|
Anonymous
Anonymous
Unregistered
|
I can get my KiXtart scripts to run, but it won't return the @hostname information as it does from Win98 workstations. Am I missing something? I do have the computer name identified in the setup. My statement that defined the variable is: $fhname="@hostname" then I print it to a file. Any ideas? Is WinXP reporting differently?
|
|
Top
|
|
|
|
#24888 - 2002-07-11 09:01 PM
Re: @hostname and WinXP missing. need help.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Glen,
I am running XP Pro within a 2000 domain and it works fine..
Thanks,
Kent
|
|
Top
|
|
|
|
#24889 - 2002-07-11 09:03 PM
Re: @hostname and WinXP missing. need help.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
What version of Kix are you running?
Can you report back what you get from the following?
code:
break on cls ?"KIX "+@KIX ?"WUSERID "+@WUSERID ?"USERID "+@USERID ?"DOMAIN "+@DOMAIN ?"LDOMAIN "+@LDOMAIN ?"FULLNAME "+@FULLNAME ?"COMMENT "+@COMMENT ?"HOMESHR "+@HOMESHR ?"HOSTNAME "+@HOSTNAME ?"PRIV "+@PRIV ?"PWAGE "+@PWAGE ?"MAXPWAGE "+@MAXPWAGE ?"PRIMARYGROUP "+@PRIMARYGROUP ?"LSERVER "+@LSERVER ?"LDRIVE "+@LDRIVE ? ?"Press any Key to continue" get $k
Thanks,
Kent [ 11 July 2002, 21:05: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#24891 - 2002-07-11 10:03 PM
Re: @hostname and WinXP missing. need help.
|
Anonymous
Anonymous
Unregistered
|
Thanks for the help. The answers to your questions. "Kix32.exe hostname.kix" run on the host machine resulted in: KIX 4.02 WUSERID EHPort USERID EHPort DOMAIN ENVHRT LDOMAIN ENVHRT FULLNAME EH Port COMMENT Laptop Dep portable HOMESHR \\ehserv\Public HOSTNAME CALLA PRIV USER PWAGE 491 MAXPWAGE 0 PRIMARYGROUP Domain Users LSERVER \\EHSERV LDRIVE \\EHSERV\NETLOGON\
Press any Key to continue
This doubly confuses me. Apparently the information is there. I wonder why the information is reported on other workstations and not on the XP one? I am correct that everything looks OK here?
|
|
Top
|
|
|
|
#24892 - 2002-07-11 10:05 PM
Re: @hostname and WinXP missing. need help.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Glen,
Is this information snap from the XP Workstation?
When you run this script do all of the @macros report results?
Thanks,
Kent [ 11 July 2002, 22:06: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#24893 - 2002-07-11 11:11 PM
Re: @hostname and WinXP missing. need help.
|
Anonymous
Anonymous
Unregistered
|
The scrtipt run on the host XP system... I just discovered that KiXtart is reporting the full host name as: CALLA not as expected CALLA.ucdavis.edu
The domain name is missing and that is causing the error I believe because I parce it with $nlet=Instr($fhname,".")-1 ;find length of first part. Substr($fhname,1,$nlet) to define the short host name. I don't see how to configure the XP system to report the domain yet. It using DHCP like all other Win98. Except in Win98 there is a place to define the domain.
Thanks for your comments. They help a lot.
|
|
Top
|
|
|
|
#24894 - 2002-07-11 11:36 PM
Re: @hostname and WinXP missing. need help.
|
Anonymous
Anonymous
Unregistered
|
I also see that ipconfig is reporting the suffix domain name:
$fhname="@hostname" ?"Full Host Name= "$fhname $shname=Substr($fhname,1,$nlet) ?"short host name= "$shname
Full Host Name= CALLA short host name= C:\Temp>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : ucdavis.edu. IP Address. . . . . . . . . . . . : etc..
Not sure what is missing for XP not to send back the full name as CALLA.ucdavis.edu???
|
|
Top
|
|
|
|
#24896 - 2002-07-11 11:51 PM
Re: @hostname and WinXP missing. need help.
|
Anonymous
Anonymous
Unregistered
|
I'll try installing netbeui on the XP and see what happens. I'll let you know.
|
|
Top
|
|
|
|
#24897 - 2002-07-11 11:59 PM
Re: @hostname and WinXP missing. need help.
|
Anonymous
Anonymous
Unregistered
|
Adding netbeui to the XP system didn't fix it.
Something fundamentally different about XP I think. I is really built for Active Directory.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|