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

Re: DIGEST-MD5 & reading large buffers (ITS#1007)



We had some buffer problems with prior versions, but
I thought they were stamped out in 2.0.7 (though I
could be wrong).  I've forward this to our bug tracking
system.

At 03:29 PM 2/1/01 -0800, Rosanna Lee wrote:
>I don't know whether this is a problem with the DIGEST-MD5 plugin, 
>the SASL framework code, or OpenLDAP. When I try to read a large
>search result using auth-int or auth-conf, the LDAP server closes 
>the connection after sending 23356 bytes of the SASL buffer 
>(23600 and 26200 were requested).  I don't even get back an error code.
>auth doesn't have this problem.
>
>Storing an entry larger than that seems to work fine. 
>
>Here are some output from the server log.
>
>-------
>ldap_write: want=26200 error=No such file or directory
>ber_flush failed errno=2 reason="No such file or directory"
>connection_closing: readying conn=3 sd=9 for close
>daemon: activity on 1 descriptors
>------
>ldap_write: want=23600 error=Error 0
>ber_flush failed errno=0 reason="Error 0"
>connection_closing: readying conn=7 sd=9 for close
>send_ldap_response: ber write failed
>entry_rdwr_runlock: ID: 13482
>
>_____________________
>Rosanna Lee
>Java Software, Sun Microsystems, Inc
>rosanna@eng.sun.com