Page 1 of 1 1
Topic Options
#40 - 1999-05-26 04:08 AM @DOMAIN macro
Anonymous
Unregistered


Hi,

I have a problem with the @DOMAIN macro.

I use two domains. In the first domain are all the computers,
whereas the users are members of the second domain.
The KiXtart reference indicates that the @DOMAIN macro returns the
"domain or the workgroup the computer belongs to".
On Windows NT, there is no problem, but the same kiXtart script on a
Windows 95 machine return instead of the domain an empty string.

Why that? Is there a solution available?

Greetings
Ingo

Top
#41 - 1999-05-27 12:58 AM Re: @DOMAIN macro
Anonymous
Unregistered


Do you have the Kix RPC running in both domains and on the BDC?


Top
#42 - 1999-05-27 02:35 AM Re: @DOMAIN macro
Anonymous
Unregistered


Hi,

the manual says, that the RPC service are
not necessary for the @DOMAIN macro. This
surprises me a little bit, but thatīs the
way, how itīs written int the handbook.

Btw, I found a workaround:

if @INWIN = 1
$ReturnKey = @DOMAIN
else
$ReturnKey = ReadValue ( "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VXD\VNETSUP", "Workgroup" )
endif
if $ReturnKey = "<Name of Domain>"
<Actions>
endif

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 1343 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.041 seconds in which 0.021 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