Package: samba
Version: 3.0.20b-4
Severity: normal

Hello,

I run the 'smbpasswd -L' to see what it did and I got a segfault. The 
panic email asked me to submit a report, so here it is.

Console output:
---
Failed to open /var/lib/samba/secrets.tdb
Failed to open /var/lib/samba/secrets.tdb
Failed to open /var/lib/samba/secrets.tdb
pdb_generate_sam_sid: Failed to store generated machine SID.
smb_panic(): calling panic action [/usr/share/samba/panic-action 5677]
smb_panic(): action returned status 0
PANIC: Could not generate a machine SID

BACKTRACE: 6 stack frames:
 #0 smbpasswd(smb_panic2+0x7b) [0x800ae35b]
 #1 smbpasswd(smb_panic+0x11) [0x800ae581]
 #2 smbpasswd(get_global_sam_sid+0x2ca) [0x80038e1a]
 #3 smbpasswd(main+0x4ff) [0x8002b65f]
 #4 /lib/libc.so.6(__libc_start_main+0x83) [0x40174413]
 #5 smbpasswd [0x8002abf1]
Aborted
---

Email:
---
The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for pid 5677 (/usr/bin/smbpasswd).

Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occured.  You are
encouraged to submit this information as a bug report to Debian.  For
information about the procedure for submitting bug reports , please see
http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
0x401e7008 in ?? ()
#0  0x401e7008 in ?? ()
#1  0x40273ff4 in ?? ()
#2  0x40193d30 in ?? ()
#3  0x0000162e in ?? ()
#4  0xbffff3d8 in ?? ()
#5  0x00000000 in ?? ()
---

The secrets.tdb file has permissions 600, but the smbpasswd help text 
implies the -L option can be used by non-root users?


HTH,

George B. 


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27.20050711
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages samba depends on:
ii  debconf [debc 1.4.66                     Debian configuration management sy
ii  libacl1       2.2.34-1                   Access control list shared library
ii  libattr1      2.4.25-1                   Extended attribute shared library
ii  libc6         2.3.5-9                    GNU C Library: Shared libraries an
ii  libcomerr2    1.38+1.39-WIP-2005.12.10-2 common error description library
ii  libcupsys2    1.1.23-15                  Common UNIX Printing System(tm) - 
ii  libkrb53      1.4.3-5                    MIT Kerberos runtime libraries
ii  libldap2      2.1.30-12                  OpenLDAP libraries
ii  libpam-module 0.79-3                     Pluggable Authentication Modules f
ii  libpam-runtim 0.79-3                     Runtime support for the PAM librar
ii  libpam0g      0.79-3                     Pluggable Authentication Modules l
ii  libpopt0      1.7-5                      lib for parsing cmdline parameters
ii  logrotate     3.7.1-2                    Log rotation utility
ii  lsb-base      3.0-13                     Linux Standard Base 3.0 init scrip
ii  netbase       4.23                       Basic TCP/IP networking system
ii  samba-common  3.0.20b-4                  Samba common files used by both th

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