[Pkg-samba-maint] Bug#495081: smbclient 3.2.0 truncates file/directorynames of 2.0.xxx Samba Server by the last character

Ries, Peter peter.ries at tui-infotec.com
Thu Aug 14 11:15:30 UTC 2008


Package: smbclient
Version: 2:3.2.0-4 

I upgraded my testing-debian on August 1st with aptitude update /
upgrade. 
With this upgrade the smbclient package (samba, samba-common too) was
updated from 2:3.0.28 to 2:3.2.0-4.

I have a tiny Asus-WLHDD NAS with a modified Linux-Firmware and an old
Samba Server Version running there. 
While Windows XP workstations can still access the Samba Server, my
debian workstation fails since the update.

Typing smb://wlhdd/sharename returns an error (saying directory xy does
not exist, which is correct as it's name is xyz...) and afterwards the
content is displayed with every entry truncated by the last character.

Example 1 - show my shares:

peter at pc02:~$ smbclient -L //wlhdd/
Enter peter's password:
Domain=[ASUSWLHDD] OS=[Unix] Server=[Samba 2.0.10-security-rollup]

        Sharename       Type      Comment
        ---------       ----      -------
        artists         Disk
        mixe            Disk
        singles         Disk
        IPC$            IPC       IPC Service (Samba
2.0.10-security-rollup)
Domain=[ASUSWLHDD] OS=[Unix] Server=[Samba 2.0.10-security-rollup]

        Server               Comment
        ---------            -------
        PC02                 peter02 server
        WLHDD                Samba 2.0.10-security-rollup

        Workgroup            Master
        ---------            -------
        ASUSWLHDD            WLHDD 



Example 2 - accessing content:

smbclient //wlhdd/Artists
Enter peter's password:
Domain=[ASUSWLHDD] OS=[Unix] Server=[Samba 2.0.10-security-rollup]
smb: \> ls
                                      D        0  Sat Nov 24 20:05:07
2007
  .                                   D        0  Fri Nov 23 07:35:13
2007
  Jamiroqua                           D        0  Sun Feb  4 13:13:38
2007
  Corinne Bailey Ra                   D        0  Sun Feb  4 12:41:16
2007
  Norah Jone                          D        0  Sun Feb  4 13:45:56
2007
  Katie Melu                          D        0  Sun Feb  4 13:20:22
2007

                56306 blocks of size 2097152. 18124 blocks available
smb: \>                                        


As you can see the Server runs a 2.0.10 Version of Samba.

Googling around I found two similar Bugs (and a possible solution) in
RedHat's Bugzilla:

1)  https://bugzilla.redhat.com/show_bug.cgi?id=446657 
2)  https://bugzilla.redhat.com/show_bug.cgi?id=443047 

May be these links are helpful.

Best regards
Peter Ries







More information about the Pkg-samba-maint mailing list