Page 1 of 1 1
Topic Options
#58184 - 2001-08-10 08:57 PM Problem with InGroup under RC1
Anonymous
Unregistered


I'm having some weird problems using InGroup().

It can't find if the user is the member of a global group but will find if they are a member of a local group. I've even tried using EnumGroup to list out all the groups it finds. The only thing that gets listed are the domain local groups.

I've checked the rpc service and all the binaries and everything is ok there. The weird thing is, that the @PRIMARYGROUP call work fine, which is a global group.

So what's am I doing that's wrong? I've posted a snippet of script I threw together to verify this problem.

BTW - I'm using Kix2001 RC1

---------------------------------------
$PriGroup = @primarygroup
$GT = "MIS Group"
$IG = ingroup($GT)
$ER = @error
? "Primary Group is "+$PriGroup
$Message = "Group = $IG and error = $ER and RPC = @rserver"
? $Message
$Index = 0
Do
$Group = EnumGroup ($Index)
? $group
$Index = $Index + 1
Until LEN($Group) = 0
exit

[ 10 August 2001: Message edited by: Ted ]

Top
#58185 - 2001-08-21 01:04 AM Re: Problem with InGroup under RC1
Anonymous
Unregistered


Doh!

I had the wrong version RPC service running. Installed the new version and everything works.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 484 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.05 seconds in which 0.025 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