Talk About Network

Google





Software > ADSI General > Only 6 group me...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 5306 of 5437
Post > Topic >>

Only 6 group members returned when there are hundreds of members

by JRB <john@[EMAIL PROTECTED] > Jun 18, 2008 at 06:18 PM

A customer has re****ted one of my programs returning only 6 members of
a group when the group has many more members. I'm using
IDirectoryObject with GetObjectAttributes and a ranged search e.g.
"member;Range=0-19" for the first call. GetObjectAttributes returns
SUCCESS, one object and 6 values (6 members). If I call it again with
range 6-25,  I get error 0x80072020 (An operations error occurred)
which is identical to the error returned for any request where the
first element of the range exceeds the actual number of members. A
screenshot from ADUC confirms there are more than 6 members.

I've also tried the "attribute scope query" method which again returns
6 members and no error.

Any suggestions? This is an AD 2003 domain with a forest root, on
Windows 2003 R2 Enterprise x64 SP1.

Is there a reliable ADSI method to get group members? I had previously
abandoned the attribute scope query method after a customer re****ted
this method quit upon encountering a member in a child domain, whereas
the IDirectorySearch method worked reliably for the same group.

TIA, John
 




 3 Posts in Topic:
Only 6 group members returned when there are hundreds of members
JRB <john@[EMAIL PROTE  2008-06-18 18:18:39 
Re: Only 6 group members returned when there are hundreds of mem
"Richard Mueller [MV  2008-06-18 23:05:11 
Re: Only 6 group members returned when there are hundreds of mem
JRB <john@[EMAIL PROTE  2008-06-24 02:17:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 19:05:28 PST 2009.