Page 3 of 3 <123
Topic Options
#24407 - 2002-07-11 12:37 AM Re: InGroup + Global Groups
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
ok...
so going for more. test the macros. do a script similar to this:

?"KIX @KIX"
?"WUSERID @WUSERID"
?"USERID @USERID"
?"DOMAIN @DOMAIN"
?"LDOMAIN @LDOMAIN"
?"FULLNAME @FULLNAME"
?"COMMENT @COMMENT"
?"HOMESHR @HOMESHR"
?"PRIV @PRIV"
?"PRIMARYGROUP @PRIMARYGROUP"
?"LSERVER @LSERVER"
?"LDRIVE @LDRIVE"

and what is the result?

also, didn't find in this thread anything about version. what is your kix version?

cheers,
_________________________
!

download KiXnet

Top
#24408 - 2002-07-10 01:08 PM Re: InGroup + Global Groups
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
The users logon to the domain of server1, correct? Are you trying to see if the user is a member of a global group in the domain of server2?

Please tell use which domain the groups belong to.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#24409 - 2002-07-10 02:18 PM Re: InGroup + Global Groups
Ryan Offline
Fresh Scripter

Registered: 2001-11-11
Posts: 42
Loc: the Netherlands
I just wanna give feedback about my problem, descripted earlier. And thank you all for your support. My problem is solved.

I want to point the need of the KXRPC service on all dc's, although the manual says, it's not neccesary but recommended. My opinion is, that it's needed on all dc's.

Info;
-Domain called VANDRA
-PDC called VANDRA00
-BDC called VANDRA01
-BDC called VANDRA05

This was the situation:
I'd only installed the KXRPC service on Vandra00, the PDC, and made an KiXtart.ini file in the Netlogon Share's.

[KXRPCMapping]
VANDRA=\\VANDRA00
Default=\\VANDRA00

This is what the ini-file looked like. I'd used the following code to test the membership;

code:
If InGroup("Beheerders") = 1 ; Local Group
? "A member of Local Group!"
Else
? "Not a member of Local Group!"
EndIf

If InGroup("Domein Beheerders") = 1 ; Global Group
? "A member of Global Group!"
Else
? "Not a member of Global Group!"
EndIf

My problem was, that I couldn't reach the Global Groups with the service on, but could reach the Local Groups. When I turned the service off, I could reach the Global Groups again, but not the Local Groups. And ofcourse I'm a member of both groups. So I didn't use the service.

This is my new situation:
I've installed the KXRPC serive on all DC's. And deleted the KiXtart.ini file. And quess what. . ., it worked fine! All domain info is returned correctly for the few Windows 9x workstations on our domain.

Ryan

Top
#24410 - 2002-07-10 03:22 PM Re: InGroup + Global Groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
That's why pretty much everybody (at least the power KiXtarters) on this board STRONGLY recommends to install the KiXtart RPC service on all domain controllers. It solves a lot of trouble-shooting time when Windows 9x clients are involved. Besides, I am not aware of any kind/type/shape of adverse effect runnign that particular service on the domain controllers.
_________________________
There are two types of vessels, submarines and targets.

Top
#24411 - 2002-07-10 05:20 PM Re: InGroup + Global Groups
zz_vf_zz Offline
Getting the hang of it

Registered: 2002-04-07
Posts: 53
I just founf out something really interesting:
In c:\windows\temp I found kixtart.log.
In kixtart.log was the following line:
"Error occured during retrieval of network information: Access is denied. (0x5/5)"

To what network resourses does kix need access?

Top
#24412 - 2002-07-10 06:58 PM Re: InGroup + Global Groups
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
You stated that you are logging on to the domain at server1.

Again, please tell if the global groups that are failing are in the domain on server1 or the domain of server2.

Since the "logon domain" is that of server1 (I wish zz_vf_zz would give use some names to reference), the KXRPC service is not needed on server2 because it is not a DC in the logon domain.

We still do not know what version of KiXtart you are using. Please execute the code (macro printouts) supplied by Lonkero so that we have additional information with which to help understand what may be wrong here.

[ 10 July 2002, 18:59: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#24413 - 2002-07-11 07:34 AM Re: InGroup + Global Groups
zz_vf_zz Offline
Getting the hang of it

Registered: 2002-04-07
Posts: 53
O.K. server1 = LogonServer;
server2 = FileServer

Almost all the macros return blank, except:
KIX 3.47
PRIV Guests
LSERVER FileServer
LDRIVE Z:

The groups that are failing defined in the domain of LogonServer.
There is no problem with groups defined in the domain of FileServer (If I define a temp user in domain of FileServer, and logon to it, I get both global groups and local groups correctly)
The users are defined in the domain of LogonServer.
Again, domain on FileServer is just for historical reasons.

Thanks,
V.F.

Top
#24414 - 2002-07-11 07:45 AM Re: InGroup + Global Groups
zz_vf_zz Offline
Getting the hang of it

Registered: 2002-04-07
Posts: 53
Also, all the users in the domain of LogonServer are also members of global group NTFS_PERMISIONS, which includes NTFS permisions for FileServer to allow them to access files on FileServer.
Top
#24415 - 2002-07-11 07:51 AM Re: InGroup + Global Groups
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
zz(top),
have you thought of upgrading?
uttleast to 3.6*

otherwise, will start searching bug-fix-list from history if this is something fixed after your kix.

cheers,
_________________________
!

download KiXnet

Top
#24416 - 2002-07-11 04:35 PM Re: InGroup + Global Groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
You should definitely upgrade to 4.10a. The new commands will definitely come in handy down the road and you can take advantage of the huge UDF collection posted to this board. KiXtart 3.47 is definitely out-dated.
_________________________
There are two types of vessels, submarines and targets.

Top
#24417 - 2002-07-14 04:27 PM Re: InGroup + Global Groups
zz_vf_zz Offline
Getting the hang of it

Registered: 2002-04-07
Posts: 53
Hi,

I'm not sure it would solve my problem - kix.log says that I have an access problem to retrieve network resources (See my message above).
Can it change in the newer version?
Could you please explain what kind of network resourses does kix need access to?

Thanks allot,
V.F.

Top
#24418 - 2002-07-15 12:51 AM Re: InGroup + Global Groups
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
Okay, do the following:

1) Download KiXtart 4.10a

2) Install the KiXtart RPC service on ALL domain controllers.

3) Run a simple test script to validate a single INGROUP statement.

4) Report back if there are still problems.
_________________________
There are two types of vessels, submarines and targets.

Top
#24419 - 2002-12-01 07:28 AM Re: InGroup + Global Groups
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
solved?
_________________________
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 3 of 3 <123


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

Who's Online
0 registered and 145 anonymous users online.
Newest Members
Jodey, Hiker, GTRoberts, KatieQuinn, Brennnnn
17684 Registered Users

Generated in 0.039 seconds in which 0.014 seconds were spent on a total of 13 queries. Zlib compression enabled.

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