[email protected]
[Top] [All Lists]

Bug#310413: marked as forwarded (samba: delete veto files is broken)

Subject: Bug#310413: marked as forwarded samba: delete veto files is broken
From: Debian Bug Tracking System
Date: Tue, 24 May 2005 10:48:36 -0700
Your message dated Tue, 24 May 2005 18:20:51 +0200
with message-id <[email protected]>
has caused the Debian Bug report #310413,
regarding samba: delete veto files is broken
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(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)

Received: (at 310413-forwarded) by bugs.debian.org; 24 May 2005 17:39:48 +0000
>From [email protected] Tue May 24 10:39:48 2005
Return-path: <[email protected]>
Received: from perrier.eu.org (kheops.perrier.eu.org) [] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DadNc-0006Lj-00; Tue, 24 May 2005 10:39:48 -0700
Received: from localhost (localhost [])
        by kheops.perrier.eu.org (Postfix) with ESMTP id EA7094F97A;
        Tue, 24 May 2005 19:39:16 +0200 (CEST)
Received: from kheops.perrier.eu.org ([])
        by localhost (kheops []) (amavisd-new, port 10024)
        with ESMTP id 08690-10; Tue, 24 May 2005 19:39:14 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org 
        by kheops.perrier.eu.org (Postfix) with ESMTP id 35E5A4F972;
        Tue, 24 May 2005 19:39:14 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
        id D90C823295; Tue, 24 May 2005 18:20:51 +0200 (CEST)
Date: Tue, 24 May 2005 18:20:51 +0200
From: Christian Perrier <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: (forw) Bug#310413: samba: delete veto files is broken
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Content-Transfer-Encoding: quoted-printable
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-13.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE,VALID_BTS_CONTROL autolearn=ham 
X-CrossAssassin-Score: 2

tags 310413 patch

Jerry, I'm no in position of sending this to bugzilla and I'm on my
way to actually leave for a few days with loose net access, so I don't
want to forget sending this to you.

The Debian bug reporter below mentioned he did not report this
upstream, so I do so by sending this to you.

I use this occasion to ask you about your preferred way to get
information from Debian bug reports. As you certainly noticed, my good
resolutions after SambaXP have triggered a lot of information sent
from us (Debian maintainers) to you, as upstream. I have used both
ways=A0: one direct to you and another one through bugzilla.debian.org.

I would really like to know what is your preferred method. Knowing
what is Jeremy's preferred method would help also as I still remember
the long but really useful discussion I had with him about interaction
between Debian maintainers and the Samba team.

Anyway, real bug report follows. The patch sent by the bug submitter
hasn't been tested (except by him, of course).

----- Forwarded message from Christian Eckerle <[email protected]> --=

Subject: Bug#310413: samba: delete veto files is broken
Reply-To: Christian Eckerle <[email protected]>, [email protected]=
From: Christian Eckerle <[email protected]>
To: Debian Bug Tracking System <[email protected]>
X-Mailer: reportbug 3.8
Date: Mon, 23 May 2005 14:52:57 +0200

Package: samba
Version: 3.0.14a-2
Severity: normal
Tags: patch

The "delete veto files" is broken since Samba 3.0.12.
Deleting a directory containing only veto files returns NT_STATUS_DIRECTO=
RY_NOT_EMPTY instead of deleting all veto files/directories.

This seems to be caused by an error in source/smbd/reply.c in rmdir_inter=
nals. The variable dirpos gets changed by the first ReadDirName() and wil=
l not rewind the dir handle in SeekDir() afterwards.

The following patch corrects the problem:

--- samba-3.0.14a/source/smbd/reply.c       2005-04-14 06:14:20.000000000=
+++ samba-3.0.14a_test/source/smbd/reply.c   2005-05-23 12:34:54.93336528=
8 +0000
@@ -3462,7 +3462,8 @@

                if(dir_hnd !=3D NULL) {
                        long dirpos =3D TellDir(dir_hnd);
-                       while ((dname =3D ReadDirName(dir_hnd,&dirpos))) =
+                       long dirtemp=3Ddirpos;
+                       while ((dname =3D ReadDirName(dir_hnd,&dirtemp)))=
                                if((strcmp(dname, ".") =3D=3D 0) || (strc=
mp(dname, "..")=3D=3D0))
                                if (!is_visible_file(conn, directory, dna=
me, &st, False))

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: [email protected], [email protected] (charmap=3DISO-8859-15) =
(ignored: LC_ALL set to [email protected])

Versions of packages samba depends on:
ii  debconf [debconf-2.0]    Debian configuration managem=
ent sy
ii  libacl1                     2.2.23-1     Access control list shared l=
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared librar=
ies an
ii  libcomerr2                  1.37-2       common error description lib=
ii  libcupsys2-gnutls10         1.1.23-10    Common UNIX Printing System(=
tm) -=20
ii  libkrb53                    1.3.6-2      MIT Kerberos runtime librari=
ii  libldap2                    2.1.30-6     OpenLDAP libraries
ii  libpam-modules              0.76-22      Pluggable Authentication Mod=
ules f
ii  libpam-runtime              0.76-22      Runtime support for the PAM =
ii  libpam0g                    0.76-22      Pluggable Authentication Mod=
ules l
ii  logrotate                   3.7-2        Log rotation utility
ii  netbase                     4.21         Basic TCP/IP networking syst=
ii  samba-common                3.0.14a-2    Samba common files used by b=
oth th

-- debconf information:
* samba/run_mode: daemons
* samba/log_files_moved:
* samba/tdbsam: true
* samba/generate_smbpasswd: false

----- End forwarded message -----


To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#310413: marked as forwarded (samba: delete veto files is broken), Debian Bug Tracking System <=