[Date Prev][Date Next] [Chronological] [Thread] [Top]

Unlimited searches broken in 2.2.13 and later (ITS#3214)



Full_Name: Quanah Gibson-Mount
Version: 2.2.13/2.2.14
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.66.182.82)


I can no longer do unlimited searches when I bind to the OpenLDAP server.  This
worked fine for me prior to upgrading from 2.2.6 to 2.2.13.

Now when I perform a search that results in a large number of answers and my 2.1
ldapsearch binary, I get:

ldap_result: Can't contact LDAP server (81)

With my 2.2 ldap search binary, I get:

ldap_result: Can't contact LDAP server (-1)

(Seems odd the error codes values changed, but not the error?)

if I put -d -1 to ldapsearch, I get:

sb_sasl_read: failed to decode packet: generic failure 
 ldap_read: want=8 error=I/O error 
 ber_get_next failed. 
 ldap_perror 
 ldap_result: Can't contact LDAP server (-1) 
 ldap_free_request (origid 5, msgid 5) 
 ldap_free_connection 
 ldap_send_unbind 
 ber_flush: 7 bytes to sd 4 
   0000:  30 05 02 01 06 42 00                               0....B. 
 sasl_write: want=57, written=57 
   0000:  00 00 00 35 60 33 06 09  2a 86 48 86 f7 12 01 02   ...5`3..*.H..... 
   0010:  02 02 01 00 00 00 00 ff  ff f0 6a 7f 0f dc 86 aa   ..........j..... 
   0020:  21 de e3 e2 c5 5b 7c 87  d9 ea 6d c9 a3 68 de 47   !....[|...m..h.G 
   0030:  c0 c4 a5 df 0a c4 20 9c  ec                        ...... .. 
 ldap_write: want=7, written=7 
   0000:  30 05 02 01 06 42 00                               0....B. 
 ldap_free_connection: actually freed 


Note that this is the same function I'm having problems with, with syncRepl
(sb_sasl_read)

--Quanah