Package: smbclient
Version: 3.0.10-1
Severity: grave
Justification: causes non-serious data loss

smbclient often loses files when getting a directory listing.  Using
amanda for backup with samba results in loss of data, causing
incomplete backups.  The problem is most likely to be occur when
dealing with larger directories, perhaps directories with over 300 or
1000 files.

I have seen the problem on my Debian system.

Here's my test, where /Kathy/DATA/2120 WNmod/ is a large directory.

for num in 1 2 3 4 5 6 7 8 9; do smbclient '\\puffin\c$' -U 'amanda%password' 
-E -d1 -Tcan /dev/null  '/Kathy/DATA/2120 WNmod/*' > /tmp/foo/foolog$num.txt 
2>&1; done
for num in 2 3 4 5 6 7 8 9; do diff -u /tmp/foo/foolog1.txt
/tmp/foo/foolog${num}.txt; done

The diff output includes the following, which shows 4 files which
disappeared between the 2 runs:

--- /tmp/foo/foolog1.txt        2005-03-02 11:46:45.000000000 -0800
+++ /tmp/foo/foolog9.txt        2005-03-02 11:46:46.000000000 -0800
@@ -1,4 +1,4 @@
 dry_run set
 Domain=[KECK] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
-tar: dumped 1193 files and directories
-Total bytes written: 807012352
+tar: dumped 1189 files and directories
+Total bytes written: 805666304





The bug has been reported to the samba bugzilla list, but the bug is
important enough to be listed under Debian as well.  The bug is
considered critical on the bugzilla list.  I'm marking it as grave for
Debian, though I could probably justify critical.

https://bugzilla.samba.org/show_bug.cgi?id=2271

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages smbclient depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libcomerr2                  1.35-6       The Common Error Description libra
ii  libkrb53                    1.3.6-1      MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  libreadline4                4.3-11       GNU readline and history libraries
ii  samba-common                3.0.10-1     Samba common files used by both th

-- no debconf information


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

Reply via email to