URGENT: LDAP waring: Sizelimit exceeded in PHP3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Sorry to disturb u again..

i had developed a simple web based application for a ldap server, to
display listing, search, add, edit and delete of any ldap records. it
was running perfectly till today. but as now i had added 4 entries in
it and now in listing page, a waring messages is displayed and the
listing does not being displayed.

i am using the PHP3

######################################################
the error is:

Warning: LDAP: Unable to perform the search: Sizelimit exceeded in
/home/httpd/html/ldapmrtg/main.php on line 125
Error in search query

#####################################################
My source Code is like :

<?php
$conn = ldap_connect("IP-ADDRESS") or die("</h2>Could not connect to
server</h2>");

$r = ldap_bind($conn) or die("<h2>Could not bind to server</h2>");
$result = ldap_search($conn,"dc=abc,dc=com","(cn=*)") or
die("<h2>Error in search query</h2>");

$info = ldap_get_entries($conn, $result);

// print number of entries found
echo "<h3>Total Number of entries: " . ldap_count_entries($conn,
$result) . "</a></h3>";
?>

#############################################################

Anyone have any idea to resolve it out.P lease help me.

with thanks
Sunit




PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux