|
| reg: members returned while making a search |
 |
Fri, 25 Aug 2006 23:37:19 GMT |
Hi !
A perticular group in LDAP has App 1200 users in it.
When I try to execute the following query
// I am using sort control
Context.setRequestControls(sortCtrls);
SearchControl strl = new SearchControl();
strl.setsearchscope(SearchControls.subtree_scope);
strl.setReturningAttribues({"member","cn","guid"})
;
strl.setReturningObjFlag(true);
//fetch only 10 per request
strl.setCountLimit(10);
filter = (&(objetclass=groupofnames)(cn=AllSharedGroup));
baseDN =
controls = sctrl;
NamingEnumeration entries=context.search(baseDN,filter,controls);
I am excepting only 1 entry to be returned,
but I am getting 3 entries (407 members in each entry)!
Is there any default setting in NDS which returns chunck of records at a
time.
I am haiving only 1 group and 1200 users for that group.
thanks in adavance
|
| Post Reply
|
|
|
|
|
|
|
|
|
|