Mike, this is sasl bind specific, it doesnt respect reconnect
option. i will file both Mozilla and Sun bugs and make the fix
available shortly. for the now your only option to workaround
is to call dummy simple bind with some real creds not anon and
then call sasl bind on top of it or resort to simple bind only
.

Mike wrote:
So basically whenever I detect the disconnection, the code will call connect() to rebind. The problem I'm seeing is, after the initial connection, anytime it hits that ldap_sasl_bind_s() call it gives me "Encoding error (83)". I've tried adding in a regular ldap_simple_bind_s(NULL, NULL) before the sasl bind to do an anonymous bind first, but it gives me Cannot connect error. I was under the impression I only needed to do the bind (simple or sasl) after the disconnect to get going again, but this doesn't work.

On an aside, I'm using whichever version of the SDK that ships with iPlanet SDRK 5.2. Perhaps this has been fixed in a later version?

Thanks, Mike
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to