--On October 27, 2011 4:25:07 PM -0700 Quanah Gibson-Mount
<qua...@zimbra.com> wrote:
+#define FREE_RESULT 0
+ if ((rc = ldap_parse_sasl_bind_result(dict_ldap->ld, res, 0,
FREE_RESULT)) != LDAP_SUCCESS)
+ return (rc);
+
+ return(ldap_result2error( dict_ldap->ld, res, 1 ));
Two notes:
The requirement to call ldap_result2error goes back at least as far as
OpenLDAP 2.1 API, and this bug appears to exist in Postfix 2.6 forward (and
possibly older postfix releases too). I verified the same problem exists
in Postfix 2.7.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration