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

Re: Strange error, only w/ gssapi



What's your sasl version? I came across a similar error when
I upgraded sasl from 2.1.15 to 2.1.17, see here:

https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2314

On Wed, Jan 28, 2004 at 09:49:43PM -0800, Seth Hettich wrote:
> So, I found the problem, I think.
> 
> On the ldapsearch I see:
> sb_sasl_pkt_length: received illegal packet length of 65692 bytes
> sb_sasl_read: failed to decode packet: generic failure
> 
> 
> In the code:
> ldap-int.h:#define SASL_MAX_BUFF_SIZE   65536
> 
> 
> So, I assume there is a good reason for all the IO to go through the 
> SASL library, and SASL needs to only get data 65536 bytes at a time..
> So, should the client only read 65536 bytes at a time? I assume
> it's just a byte stream, so the server can't break it up or anything.
> 
> If someone sees the problem and can send me a patch to test that
> would be great, or I'll probably take a stab at it this weekend.