Yes. Open the source code file that has the ldap_sasl_interactive_bind call, and its clearly there that if you configure Mozilla LDAP without the Cyrus SASL flag, then the ldap_sasl_interactive_bind call always returns 0. Hence if you are using the recompiled version, then it is not there. However you have to rebuild the Mozilla LDAP library using the following configure statement as

> ./configure --with-sasl <other arguments>

You can also define the Cyrus SASL library and include paths if they are at the different directories.

Kashif.

Anton Bobrov wrote:

i hate to ask the silly question but do you actually have SASL builtin?
https://wiki.mozilla.org/LDAP_C_SDK#Building_using_autoconf_.28preferred_method.29
see "Build with SASL support" section there. otherwise you might be
hitting a stub which does nothing but returns LDAP_SUCCESS [ i have
no idea why do we actually return success in those stubs but we do ].

Xu, Qiang (FXSGSC) wrote:

I just can't understand why it can return 0 when it does not send the binding request to the server.
_______________________________________________
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