Test: /ext/ldap/tests/bug48441.phpt - Version 5.5.18        

Bug #48441 ldap_search() sizelimit, timelimit and deref options persist
Submitted: 2009-05-31 21:53:54 Modified: 2009-06-15 15:24:17
From: patrickallaert Assigned: patrickallaert
Status: Closed Package: LDAP related
PHP Version: 5.*, 6CVS (2009-06-01) OS: *

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ ** ERROR: process timed out **
001- resource(%d) of type (ldap result)
002- array(4) {
003- ["count"]=>
004- int(3)
005- [0]=>
006- array(4) {
007- ["sn"]=>
008- array(2) {
009- ["count"]=>
010- int(1)
011- [0]=>
012- string(7) "testSN1"
013- }
014- [0]=>
015- string(2) "sn"
016- ["count"]=>
017- int(1)
018- ["dn"]=>
019- string(28) "cn=userA,dc=my-domain,dc=com"
020- }
021- [1]=>
022- array(4) {
023- ["sn"]=>
024- array(2) {
025- ["count"]=>
026- int(1)
027- [0]=>
028- string(7) "testSN2"
029- }
030- [0]=>
031- string(2) "sn"
032- ["count"]=>
033- int(1)
034- ["dn"]=>
035- string(28) "cn=userB,dc=my-domain,dc=com"
036- }
037- [2]=>
038- array(4) {
039- ["sn"]=>
040- array(2) {
041- ["count"]=>
042- int(1)
043- [0]=>
044- string(7) "testSN3"
045- }
046- [0]=>
047- string(2) "sn"
048- ["count"]=>
049- int(1)
050- ["dn"]=>
051- string(37) "cn=userC,cn=userB,dc=my-domain,dc=com"
052- }
053- }
054-
055- Warning: ldap_search(): Partial search results returned: Sizelimit exceeded in %s on line %d
056- resource(%d) of type (ldap result)
057- array(2) {
058- ["count"]=>
059- int(1)
060- [0]=>
061- array(4) {
062- ["sn"]=>
063- array(1) {
064- ["count"]=>
065- int(0)
066- }
067- [0]=>
068- string(2) "sn"
069- ["count"]=>
070- int(1)
071- ["dn"]=>
072- string(28) "cn=userA,dc=my-domain,dc=com"
073- }
074- }
075- resource(%d) of type (ldap result)
076- array(4) {
077- ["count"]=>
078- int(3)
079- [0]=>
080- array(4) {
081- ["sn"]=>
082- array(2) {
083- ["count"]=>
084- int(1)
085- [0]=>
086- string(7) "testSN1"
087- }
088- [0]=>
089- string(2) "sn"
090- ["count"]=>
091- int(1)
092- ["dn"]=>
093- string(28) "cn=userA,dc=my-domain,dc=com"
094- }
095- [1]=>
096- array(4) {
097- ["sn"]=>
098- array(2) {
099- ["count"]=>
100- int(1)
101- [0]=>
102- string(7) "testSN2"
103- }
104- [0]=>
105- string(2) "sn"
106- ["count"]=>
107- int(1)
108- ["dn"]=>
109- string(28) "cn=userB,dc=my-domain,dc=com"
110- }
111- [2]=>
112- array(4) {
113- ["sn"]=>
114- array(2) {
115- ["count"]=>
116- int(1)
117- [0]=>
118- string(7) "testSN3"
119- }
120- [0]=>
121- string(2) "sn"
122- ["count"]=>
123- int(1)
124- ["dn"]=>
125- string(37) "cn=userC,cn=userB,dc=my-domain,dc=com"
126- }
127- }
128- ===DONE===