Bug#378556: winbind: windbind calls samba panic action script

2006-07-18 Thread Christian Perrier
tags 337798 - moreinfo
tags 378556 fixed-upstream pending upstream
merge 378556 337798
thanks

Quoting Sjoerd Hardeman ([EMAIL PROTECTED]):
 Package: winbind
 Version: 3.0.22-1
 Severity: important
 
 
 When winbind is started, the panic script is called, and winbind shuts down
 again.
 Below a backtrace from the script, the /var/log/samba/log.winbind and
 sbm.conf:


winbind is of no use in security=user mode.

I should certainly not panic, which is a bug that has been forwarded
upstream and is fixed in 3.0.23. The samba package maintenance team
has a pending upload for 3.0.23 which will fix this bug. But anyway,
there is no point in running winbind in your setup.




signature.asc
Description: Digital signature


Bug#378556: winbind: windbind calls samba panic action script

2006-07-17 Thread Sjoerd Hardeman
Package: winbind
Version: 3.0.22-1
Severity: important


When winbind is started, the panic script is called, and winbind shuts down
again.
Below a backtrace from the script, the /var/log/samba/log.winbind and
sbm.conf:

Panic script:
(no debugging symbols found)
Using host libthread_db library /lib/tls/libthread_db.so.1.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1212524864 (LWP 8503)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7d487ae in waitpid () from /lib/tls/libc.so.6
#0  0xb7d487ae in waitpid () from /lib/tls/libc.so.6
#1  0xb7cedab9 in strtold_l () from /lib/tls/libc.so.6
#2  0x080e7207 in smb_panic2 ()
#3  0x080e733a in smb_panic ()
#4  0x0807b81c in init_domain_list ()
#5  0x08074a22 in main ()

/var/log/samba/log.winbind
[2006/07/17 13:36:35, 1] nsswitch/winbindd.c:main(978)
  winbindd version 3.0.22 started.
  Copyright The Samba Team 2000-2004
[2006/07/17 13:36:35, 0] nsswitch/winbindd_util.c:winbindd_param_init(781)
  winbindd: idmap uid range missing or invalid
[2006/07/17 13:36:35, 0] nsswitch/winbindd_util.c:winbindd_param_init(782)
  winbindd: cannot continue, exiting.
[2006/07/17 13:36:35, 1] nsswitch/winbindd.c:main(1011)
  Could not init idmap -- netlogon proxy only
[2006/07/17 13:36:35, 0] lib/util.c:smb_panic2(1544)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 8524]
[2006/07/17 13:36:35, 0] lib/util.c:smb_panic2(1552)
  smb_panic(): action returned status 0
[2006/07/17 13:36:35, 0] lib/util.c:smb_panic2(1554)
  PANIC: Could not fetch our SID - did we join?

[2006/07/17 13:36:35, 0] lib/util.c:smb_panic2(1562)
  BACKTRACE: 6 stack frames:
   #0 /usr/sbin/winbindd(smb_panic2+0x7c) [0x80e711c]
   #1 /usr/sbin/winbindd(smb_panic+0x1a) [0x80e733a]
   #2 /usr/sbin/winbindd(init_domain_list+0x13c) [0x807b81c]
   #3 /usr/sbin/winbindd(main+0x4b2) [0x8074a22]
   #4 /lib/tls/libc.so.6(__libc_start_main+0xd1) [0xb7d20021]
   #5 /usr/sbin/winbindd [0x80731f1]

/etc/samba/sbm.conf
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2006/07/17 13:33:30

[global]
workgroup = KUIPERSSTRAAT20
server string = %h server (Samba %v)
security = user
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 = 0
log file = /var/log/samba/log.%m
max log size = 1000
printcap name = cups
addprinter command = /usr/bin/addcupsprt
dns proxy = No
ldap ssl = no
panic action = /usr/share/samba/panic-action %d
invalid users = root
printing = cups
print command =
lpq command = %p
lprm command =
include = /etc/samba/dhcp.conf

[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No

[printers]
comment = Alle printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[laser]
comment = HP Color Laserjet 2500
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = laser
oplocks = No
share modes = No


-- System Information:
Debian Release: by Linux-Systeme
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages winbind depends on:
ii  libc6   2.3.6-16 GNU C Library: Shared libraries
ii  libcomerr2  1.39-1   common error description library
ii  libkrb531.4.3-7  MIT Kerberos runtime libraries
ii  libldap22.1.30-13+b1 OpenLDAP libraries
ii  libpam0g0.79-3.1 Pluggable Authentication Modules l
ii  libpopt01.10-2   lib for parsing cmdline parameters
ii  lsb-base3.1-10   Linux Standard Base 3.1 init scrip
ii  samba-common3.0.22-1 Samba common files used by both th

winbind recommends no