From: Justin C. <jus...@ad...> - 2002-01-18 00:30:26
|
Hi everyone, I am rather new to the ldap world, however, I have been tasked with putting together a scipt that will get the current count of mailboxes on our systems. We have 6 productions mail machines servicing approx 500,000 users. We are using the Netscape(Iplanet) package. I am running into a size limit exceeded error when trying to get my results. Here is a snippit of the code I am using. $ouline = ("ou=powerlinkcustomers"); $filter = ("mailhost=ms001a.dc3.adelphia.net"); $oline = ("o=adelphia.net"); $message = $ldap->search( base => ("$ouline, $oline"), scope => 'sub', filter => ("$filter"), sizelimit => 0, timelimit => 0 ); This machine has about 72,000 mailboxes on it, so I wanted to use this as a test. However after about 10 secs of work, then gives the following error: Error :: Sizelimit exceeded Error Results: Net::LDAP::Search=HASH(0x32745c) I tried filtering the search further by "attr" but still no luck. Currently I have a script setup to use the ldapsearch tool, but that takes approx 30 mins to work per machine. Any help would be great. Justin |