[Pkg-samba-maint] Bug#445566: samba: smbclient returning 'string length'+1 of the first character of the share name

Shawn Stricker kb1ibt at gmail.com
Sat Oct 6 22:04:25 UTC 2007


Package: samba
Version: 3.0.26a-1
Severity: grave
Justification: renders package unusable

the samba server is returning 'string length'+1 of the first
character of the share name. no matter which machine or version that requests
the share list it always returns the same value.

$ smbclient -L //localhost/
Domain=[NAS] OS=[Unix] Server=[Samba 3.0.26a]

        Sharename       Type      Comment
        ---------       ----      -------
        TTTTTTTTTTTT    Disk      
        llllll          Disk      
        IIIII           IPC       IIIIIIIIIIIIIIIIIIIIIIIII
Domain=[NAS] OS=[Unix] Server=[Samba 3.0.26a]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        WORKGROUP            

$cat /etc/samba/smb.conf

[global]
        dos charset =CP850
        unix charset = UTF-8
        display charset = LOCALE
        server string = %h server
        obey pam restrictions = Yes
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
        syslog only = Yes
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        ldap ssl = no
        panic action = /usr/share/samba/panic-action %d
        invalid users = root

[TimeMachine]
        path = /srv/timemachine
        valid users = shawn
        read only = No
[local]
        path = /srv/timemachine
        valid users = shawn
        read only = No


$ sudo locale -a    
C
POSIX

$ testparm -v -s | grep charset
Load smb config files from /etc/samba/smb.conf
Processing section "[TimeMachine]"
Processing section "[local]"
Loaded services file OK.
Server role: ROLE_STANDALONE
        dos charset = CP850
        unix charset = UTF-8
        display charset = LOCALE



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm (armv5tel)

Kernel: Linux 2.6.21-2-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  debconf [debconf-2.0]   1.5.14           Debian configuration management sy
ii  libacl1                 2.2.45-1         Access control list shared library
ii  libattr1                1:2.4.39-1       Extended attribute shared library
ii  libc6                   2.6.1-1          GNU C Library: Shared libraries
ii  libcomerr2              1.40.2-1         common error description library
ii  libcupsys2              1.3.2-1          Common UNIX Printing System(tm) - 
ii  libgnutls13             1.7.19-1         the GNU TLS library - runtime libr
ii  libkrb53                1.6.dfsg.1-7     MIT Kerberos runtime libraries
ii  libldap2                2.1.30.dfsg-13.5 OpenLDAP libraries
ii  libpam-modules          0.99.7.1-4       Pluggable Authentication Modules f
ii  libpam-runtime          0.99.7.1-4       Runtime support for the PAM librar
ii  libpam0g                0.99.7.1-4       Pluggable Authentication Modules l
ii  libpopt0                1.10-3           lib for parsing cmdline parameters
ii  logrotate               3.7.1-3          Log rotation utility
ii  lsb-base                3.1-24           Linux Standard Base 3.1 init scrip
ii  procps                  1:3.2.7-4.1      /proc file system utilities
ii  samba-common            3.0.26a-1        Samba common files used by both th
ii  update-inetd            4.27-0.6         inetd.conf updater
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages samba recommends:
ii  smbldap-tools                 0.9.2-3    Scripts to manage Unix and Samba a

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





More information about the Pkg-samba-maint mailing list