Hi,

while reassembling a new distribution I found some flaws in the ldap
control patch. You would not realize these problems under most
conditions.

Sources:
 qmail 1.03
 qmail ldap 20020901
 qmail ldap control 20020524

--

Problem:
 Using strict ldap authentication, qmail-qmqpc and qmail-remote does
 not work as expected.

Reason:
 The bind password is read _AFTER_ binding to the ldap server.

Comment:
 This is an old bug and I missed to mention it, earlier.

Patch:
 part of
ftp://ftp.teddy-net.com/pub/sources/qmail/qmail-ldapctl_1.03/qmail_1.03-p52-ldap-control_20020524.patch-patch.gz

--

Problem:
 compilation problem with qmail-smtpd.c

Reason:
 The symbol NULL is missing

Patch:
 part of
ftp://ftp.teddy-net.com/pub/sources/qmail/qmail-ldapctl_1.03/qmail_1.03-p52-ldap-control_20020524.patch-patch.gz

--

Problem:
 Compilation problem with qmail-todo.c when USE_CONTROLDB is unset

Reason:
 The variable qldap_port is declared inside a #ifdef/#endif clause
 but used unconditionally.

Comment:
 You probably will not have USE_CONTROLDB unset

Patch:
 part of
ftp://ftp.teddy-net.com/pub/sources/qmail/qmail-ldapctl_1.03/qmail_1.03-p52-ldap-control_20020524.patch-patch.gz

Regards
jordan


Reply via email to