Bug#297771: files missing in directory listing from smbclient 'dir' command with windows xp server

2005-03-12 Thread Alban BROWAEYS
Just wanted to point out that the problem is fixed
upstream.

It was not a winxp problem, it affected all windows
servers.

https://bugzilla.samba.org/show_bug.cgi?id=2271
the patches are:
- Patch I've committed 
- Additional patch

It was tested by the reported and fixed the issue (the
second patch fixing afteraffects of the first :
slowness)

Cheers
Alban







Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/


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



Bug#297771: files missing in directory listing from smbclient 'dir' command with windows xp server

2005-03-02 Thread Kevin Dalley
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 
21; 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.txt2005-03-02 11:46:45.0 -0800
+++ /tmp/foo/foolog9.txt2005-03-02 11:46:46.0 -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  libkrb531.3.6-1  MIT Kerberos runtime libraries
ii  libldap22.1.30-3 OpenLDAP libraries
ii  libncurses5 5.4-4Shared libraries for terminal hand
ii  libpopt01.7-5lib for parsing cmdline parameters
ii  libreadline44.3-11   GNU readline and history libraries
ii  samba-common3.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]