#32097 [Opn]: Larger search limit for ldap_search
ID: 32097 User updated by: stasinia at msoe dot edu Reported By: stasinia at msoe dot edu Status: Open Bug Type: Feature/Change Request Operating System: Windows -PHP Version: 5.0.3 +PHP Version: 5.0.3 5.0.4 New Comment: This is a bump. I had hoped that 5.0.4 would have fixed this problem, looks like it has not. It really should not be that much of a problem to just change one line in the LDAP library code prior to compile. Previous Comments: [2005-02-24 19:10:02] stasinia at msoe dot edu Description: ldap_search is limited to a max of 2000 results. I do alot of work with AD that would greatly help if that limit was increased to at least 10,000, idealy 20,000 (so I can search the entire directory). You can leave the default value at 2,000, just change the hard coded limit in the LDAP library. Thank you in advance. Reproduce code: --- ldap_search ($connection, $basedn, $SearchWith2000Results) Expected result: 2000+ results Actual result: -- Error messsage about not complete results. -- Edit this bug report at http://bugs.php.net/?id=32097edit=1
#32097 [NEW]: Larger search limit for ldap_search
From: stasinia at msoe dot edu Operating system: Windows PHP version: 5.0.3 PHP Bug Type: Feature/Change Request Bug description: Larger search limit for ldap_search Description: ldap_search is limited to a max of 2000 results. I do alot of work with AD that would greatly help if that limit was increased to at least 10,000, idealy 20,000 (so I can search the entire directory). You can leave the default value at 2,000, just change the hard coded limit in the LDAP library. Thank you in advance. Reproduce code: --- ldap_search ($connection, $basedn, $SearchWith2000Results) Expected result: 2000+ results Actual result: -- Error messsage about not complete results. -- Edit bug report at http://bugs.php.net/?id=32097edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32097r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32097r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32097r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32097r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32097r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32097r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32097r=needscript Try newer version: http://bugs.php.net/fix.php?id=32097r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32097r=support Expected behavior: http://bugs.php.net/fix.php?id=32097r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32097r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32097r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32097r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32097r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32097r=dst IIS Stability: http://bugs.php.net/fix.php?id=32097r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32097r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32097r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32097r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32097r=mysqlcfg