Your message dated Wed, 16 Mar 2016 16:02:56 +0100
with message-id 
<1458140576.3820013.550944698.564dc...@webmail.messagingengine.com>
and subject line Closing ancient bugs
has caused the Debian Bug report #250817,
regarding courier-ldap: authmodulelist entries following authldap often not 
processed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
250817: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=250817
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: courier-ldap
Version: 0.37.3-2.3
Severity: normal
Tags: patch patch

This bug is also present in the unstable branch (0.45.4-1).

authldaplib.c has an error in the placement of a parenthesis following
calls to ldap_search_st, which causes ldaperror to be passed the result
of a comparison instead of an error code, which often causes authdaemond
to terminate processing of the authmodulelist (from authdaemonrc)
instead of trying the next auth module.

A patch for the current stable branch and one for unstable are included
below.

-ccwf
Charles C. Fu
Founder
Web i18n, LLC
www.web-i18n.net

---------------------------------------------------------------------- 
Here's a patch for 0.37.3:
--- courier-0.37.3.orig/authlib/authldaplib.c   Mon May 24 13:24:27 2004
+++ courier-0.37.3/authlib/authldaplib.c        Tue May 25 01:21:34 2004
@@ -762,8 +762,8 @@
        if (ldaperror(ldap_search_st(my_ldap_fp,
                                     (char
*)my_ldap.basedn,LDAP_SCOPE_SUBTREE,
                                     filter, (char **)ldap_attributes,
0,
-                                    &timeout, &result)
-                     != LDAP_SUCCESS))
+                                    &timeout, &result))
+                     != LDAP_SUCCESS)
        {
                free(filter);
---------------------------------------------------------------------- 

Here's a patch for 0.45.4:
--- courier-0.45.4.orig/authlib/authldaplib.c   Mon May 24 22:34:03 2004
+++ courier-0.45.4/authlib/authldaplib.c        Mon May 24 22:36:43 2004
@@ -927,8 +927,8 @@
                                              :my_ldap.basedn),
                                     LDAP_SCOPE_SUBTREE,
                                     srch, (char **)attributes, 0,
-                                    &tv, &result)
-                     != LDAP_SUCCESS))
+                                    &tv, &result))
+                     != LDAP_SUCCESS)
        {
                free(srch);
 
@@ -1078,8 +1078,8 @@
        if (ldaperror(ldap_search_st(my_ldap_fp,
                                     (char
*)my_ldap.basedn,LDAP_SCOPE_SUBTREE,
                                     filter, (char **)my_ldap.attrlist,
0,
-                                    &timeout, &result)
-                     != LDAP_SUCCESS))
+                                    &timeout, &result))
+                     != LDAP_SUCCESS)
        {
                free(filter);
 
@@ -1613,8 +1613,8 @@
        if (ldaperror(ldap_search_st(my_ldap_fp,
                                     (char
*)my_ldap.basedn,LDAP_SCOPE_SUBTREE,
                                     filter, (char **)ldap_attributes,
0,
-                                    &timeout, &result)
-                     != LDAP_SUCCESS))
+                                    &timeout, &result))
+                     != LDAP_SUCCESS)
        {
                free(filter);
                return;
---------------------------------------------------------------------- 

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux ns1.web-i18n.net 2.4.23 #5 Wed Dec 3 12:30:38 UTC 2003 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages courier-ldap depends on:
ii  courier-authdaemon            0.37.3-2.3 Courier Mail Server authentication
ii  courier-base                  0.37.3-2.3 Courier Mail Server Base System
ii  libc6                         2.2.5-11.5 GNU C Library: Shared libraries an
ii  libgdbmg1                     1.7.3-27   GNU dbm database routines (runtime
ii  libldap2                      2.0.23-6.3 OpenLDAP libraries.
ii  libpam0g                      0.72-35    Pluggable Authentication Modules l
ii  libsasl7                      1.5.27-3   Authentication abstraction library



--- End Message ---
--- Begin Message ---
Version: 0.73.1-1.6

I am closing all pre-wheezy bug reports and non-critical wheezy bug
reports. If you can reproduce the issue using jessie (or even better
current unstable), feel free to reopen the bug.

Cheers,
-- 
Ondřej Surý <[email protected]>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

--- End Message ---

Reply via email to