I am using qmail-ldap-1.03-20050401a.patch and
qmail-ldap-1.03-20050401a-controls20050503.patch
It work perfect in Fedora Core 3. After upgraded to Fedora Core 5, it does not
work.
(1) compile failed if "SECUREBIND=-DSECUREBIND_ALL" in Makefile. Compile
succeed if "SECUREBIND=-DSECUREBIND_TLS" or comment out "SECUREBIND=" in
Makefile. (Note that compile was succeed with "SECUREBIND=-DSECUREBIND_ALL" in
Fedora Core 3 environment).
(2) if compile with "SECUREBIND=-DSECUREBIND_TLS", qmail-send cannot start.
The error message is "alert: qmail-todo: cannot start: unable to read controls".
The message is a little bit misleading. It actually come from qmail-send.c.
(3) if compile without SECUREBIND, qmail-send can start but cannot deliver
mail. The error message is "delivery 1: deferral: Out_of_memory_in_qmail-lspawn./".
(4) if compile without SECUREBIND, but added "-DLDAP_DEPRECATED" to
LDAPINCLUDES, qmail-send cannot start. The error message is "alert: qmail-todo:
cannot start: unable to read controls".
I also tried qmail-ldap-1.03-20060201.patch and different controls patches. The
situation even worse. They failed to compile.
I thing there are several incompatibility problem. Someone in this mailing list
mentioned that openldap-2.3.x has problem. My openldap is openldap-2.3.19-4.
Other than fallback to Fedora Core 3, anybody can help?
Steve