Xu, Qiang (FXSGSC) wrote:
I'd want to say that the debug mechanism is not fully functional in
MozLDAP. If I use LDAP_DEBUG_ANY, the output from stderr is supposed to
be more than when I use LDAP_DEBUG_TRACE. But the fact is just the opposite.

In contrast, when I use OpenLDAP utility ldapsearch with debug option
-1 (LDAP_DEBUG_ANY is defined as -1 in OpenLDAP), I can get full log output.

Isn't something wrong with debug functionality in MozLDAP?

LDAP_DEBUG_ANY does not mean what you think it does in MozLDAP (although MozLDAP and OpenLDAP share common roots in the original University of Michigan LDAP implementation, they diverged many years ago). To enable a lot of debugging output, use a value like 65535.

--
Mark Smith
Pearl Crescent, LLC
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to