Actually as it turns out I can - that was, indeed, the problem.  The
server - Windows Active Directory Server 2003 - has a default limit of
1000 items.  I finally found a utility (an obscure part of Windows)
ntdsutil.exe that enabled me to change the limit.  One of you pointed
out in private e-mail to me that I could use Paging, and I thought of
doing it that way, but then realised that I had in place already a
number of scripts that assumed they could get everything off the server,
so I did it the lazy way and increased the domain's pagesize to 10,000.
Works fine now.  Apologies to everyone for my flurry of e-mails before I
had adequately investigated the problem.



jj

John Thayer Jensen, System Administrator
Computing Service, School of Business
University of Auckland

Room 256, 15 Wynyard Street

voice: +64 9 373-7599 ext 87543
FAX: +64 9 373-7696
mobile: +64 21 049-7702
quickdial: 60001

http://staff.business.auckland.ac.nz/~j.jensen
-----Original Message-----
From: Graham Barr [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 6 July 2004 9:20 p.m.
To: Jensen, John T
Cc: [EMAIL PROTECTED]
Subject: Re: sizelimit on Net::LDAP


On 5 Jul 2004, at 22:37, Jensen, John T wrote:

> Even when I set sizelimit=1500 (for example) on searches in our 
> Windows Active Directory, I cannot get more than 1000 objects back.  
> Any thoughts?

If the server has an imposed limit you cannot raise that limit.

Graham.

Reply via email to