I think it's an LDAP question.
With the following snippet of code:
#####################
$c=Win32::OLE->new("ADODB.Connection");
$c->{Provider}="ADsDSOOBject";
$c->Open("ADSI Provider");
die Win32::OLE->LastError() if
Win32::OLE->LastError();
$adspath="LDAP://SERVER/ou=AnyOU,dc=SOME,dc=ORG";;
$rs=$c->Execute("<$adspath>;(objectClass=user);ADsPath;
Subtree");
until ($rs->EOF){
   $u= $rs->Fields(0)->{Value};
   print "$u\n";
$rs->moveNext;
}
########
This should in theory display every item in the OU.
The problem is that it displays only the first 1000
items.
Supposedly the default is to be unlimited in size, but
1000 seems to be the actual limit.  There is supposed
to be a way to set the 'size limit' but I've been
unable to figure out how.  
Does anybody know how to set the size limit for the
query?

Roger


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to