I also have one last question about your work around. When you say a simple_bind with real creds, do you mean I need the actual username and password such that the bind succeeds? This is somewhat of a problem in our environment because our apps bind as whichever user is running it, so depending on who is running the app it will connect as someone different. Thus, hard coding a password isn't an option.
Thanks again for all your help and research on this, I greatly appreciate it.
Mike
On 3/8/06, Anton Bobrov <
[EMAIL PROTECTED]> wrote:
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
