Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Bob Cunningham (bobcdsinc.com)
Date: Tue Jul 10 2007 - 22:12:22 CDT
On Jul 10, 2007, at 4:03 PM, Victor Duchovni wrote:
> The Postfix 2.4.3 source I am looking for has "Had some trouble ..."
> in just one place:
> src/global/dict_ldap.c ...
> if (rc != LDAP_SUCCESS && rc != LDAP_DECODING_ERROR)
> So some effort is made to not get bit by LDAP_DECODING_ERROR, what is
> the actual error code in your case (re-compile postmap to print also
> the numeric value of "rc" in this case). Which LDAP client library are
> you using?
Result was rc = -4 which is precisely
#define LDAP_DECODING_ERROR (-4)
... in OpenLDAP's ldap.h file.
I'd compiled Postfix using the wrong ldap.h file for the OpenLDAP