Quanah Gibson-Mount:
>
>
> --On October 27, 2011 4:25:07 PM -0700 Quanah Gibson-Mount
> <[email protected]> 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.
We don't create Postfix from scratch with each release; instead we
use an evolutionary approach. This results in similarities between
releases.
Wietse