Package: samba
Version: 3.0.23c-1
Severity: important

Apologies if I overlooked an already existing bug report. There are so
many...

I just updated samba on my machine, and after that, the smbd program
refused to start, sending desparate mails "Panic or segfault in Samba".
I tracked this back to the line "passdb backend = tdbsam, " in
/etc/samba/smb.conf.

Comparing this to the backed up previous version shows that the upgrade
had removed "guest" from "passdb backend = tdbsam, guest" but not ", ".

It seems that this line from samba-common.postinst does not take this
situation into account:

s/^\([[:space:]]*passdb 
backend[[:space:]]*=.*\)[[:space:]]*guest[[:space:]]*$/\1/i" \

The =.* is greedy, eating up everything before guest. The comma is
matched by it, the space is because of the greedyness. This leaves ", "
in \1.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages samba depends on:
ii  debconf [debconf-2.0]       1.5.3        Debian configuration management sy
ii  libacl1                     2.2.41-1     Access control list shared library
ii  libattr1                    2.4.32-1     Extended attribute shared library
ii  libc6                       2.3.6.ds1-4  GNU C Library: Shared libraries
ii  libcomerr2                  1.39-1       common error description library
ii  libcupsys2                  1.2.2-2      Common UNIX Printing System(tm) - 
ii  libgnutls13                 1.4.4-1      the GNU TLS library - runtime libr
ii  libkrb53                    1.4.4-1      MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-13+b1 OpenLDAP libraries
ii  libpam-modules              0.79-3.1     Pluggable Authentication Modules f
ii  libpam-runtime              0.79-3.1     Runtime support for the PAM librar
ii  libpam0g                    0.79-3.1     Pluggable Authentication Modules l
ii  libpopt0                    1.10-2       lib for parsing cmdline parameters
ii  logrotate                   3.7.1-3      Log rotation utility
ii  lsb-base                    3.1-15       Linux Standard Base 3.1 init scrip
ii  netbase                     4.25         Basic TCP/IP networking system
ii  procps                      1:3.2.7-2    /proc file system utilities
ii  samba-common                3.0.23c-1    Samba common files used by both th
ii  zlib1g                      1:1.2.3-13   compression library - runtime

Versions of packages samba recommends:
pn  smbldap-tools                 <none>     (no description available)

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


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

Reply via email to