Your message dated Mon, 12 Feb 2007 23:05:34 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Closing wontfix bug
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: samba
Version: 3.0.2a-1
Severity: normal
Tags: patch

Sometime between samba 2.2.3 and samba 3.0.2, EXCEPT clauses in hosts
allow/deny stopped being recursive. The following works as expected:

  # allow 10.0. subnet, deny 10.0.0. subnet
  hosts allow = 10.0. EXCEPT 10.0.0. 

but this does not:

  # allow 10.0. subnet, deny 10.0.0. subnet, allow 10.0.0.1 host
  hosts allow = 10.0. EXCEPT 10.0.0. EXCEPT 10.0.0.1

The following patch appears to fix the problem:

--- access.c.old        Thu Jun 10 10:51:00 2004
+++ access.c    Thu Jun 10 10:51:35 2004
@@ -186,8 +186,9 @@
                while (*list  && !strequal(*list, "EXCEPT"))
                        list++;
 
-               for (; *list; list++) {
-                       if ((*match_fn) (*list, item)) /* Exception Found */
+               list++;
+
+               if (list_match(list,item,match_fn) != False) {
                                return False;
                }
        }

-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (100, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.20
Locale: LANG=C, LC_CTYPE=C

Versions of packages samba depends on:
ii  debconf [debco 1.4.25                    Debian configuration management sy
ii  e2fsprogs [lib 1.27-2                    The EXT2 file system utilities and
ii  libacl1        2.2.23-1                  Access control list shared library
ii  libc6          2.3.2.ds1-12              GNU C Library: Shared libraries an
ii  libcomerr2     1.35-6                    The Common Error Description libra
ii  libcupsys2     1.1.20final+cvs20040330-3 Common UNIX Printing System(tm) - 
ii  libgnutls7     0.8.12-5                  GNU TLS library - runtime library
ii  libkrb53       1.3.3-2                   MIT Kerberos runtime libraries
ii  libldap2       2.1.23-1                  OpenLDAP libraries
ii  libpam-modules 0.72-35                   Pluggable Authentication Modules f
ii  libpam-runtime 0.76-21                   Runtime support for the PAM librar
ii  libpam0g       0.76-21                   Pluggable Authentication Modules l
ii  libpopt0       1.7-4                     lib for parsing cmdline parameters
ii  logrotate      3.5.9-8                   Log rotation utility
ii  netbase        4.07                      Basic TCP/IP networking system
ii  samba-common   3.0.2a-1                  Samba common files used by both th

-- debconf information:
* samba/log_files_moved: 
* samba/generate_smbpasswd: false
* samba/run_mode: inetd
  samba/tdbsam: false
  samba/nmbd_from_inetd: 


--- End Message ---
--- Begin Message ---
This bug is marked WONTFIX upstream and it has been explaiend in
https://bugzilla.samba.org/show_bug.cgi?id=3143 That a workaround
exists.

Hence closing, we really do not need these useless bugs to remain opened



-- 


Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to