my LDAP crash with SASL authentication

Hello
I am compile last version of LDAP with SASL and TLS for use with SQL
(without berkley DB)
and when I running authentication with sasl is OK but if I success login to
ldap with SASL - ldap always crashes (in file backend.c function
select_backend) because ->bv-len is large numer (about 4564564321)
how configure SASL for ldap?
regard
Rafal
sxat