[Pkg-samba-maint] Bug#517824: winbind crash

hybris0 at gmail.com hybris0 at gmail.com
Mon Mar 2 11:04:00 UTC 2009


Package: winbind
Version: 2:3.2.5-4
Severity: important


Earlier i sent a report with an invalid from address. Since i have not seen it
in the bug system after one hour i'm reporting again with the correct from address.
Sorry if this results in a duplicate report.

After upgrading from etch to lenny windbind crashes regularly almost once a day. 
When it crashes it usually triggers two panic actions separated by several minutes.
This is happening on a machine that acts a as a file server and that uses windows credentials
taken from a Windows Server 2003 (called srvmexal below) to limit user access on the shares.

Following are:
- smb.conf
- crash report 1
- winbind log 1
- crash report 2
- winbind log 2

*** smb.conf *******************************

tera:~# testparm -s                 
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"                  
Processing section "[printers]"               
Processing section "[print$]"                 
Processing section "[autentiweb]"             
Processing section "[smartres]"               
Processing section "[backup_srvmexal]"        
Processing section "[downloads]"              
Processing section "[temp]"                   
Processing section "[tomcat]"                 
Loaded services file OK.                      
'winbind separator = +' might cause problems with group membership.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.                    
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)         
Server role: ROLE_DOMAIN_MEMBER                                       
[global]                                                              
        workgroup = SMARTRES                                          
        realm = SMARTRES.LOCALDOMAIN                                  
        server string = %h server                                     
        security = ADS                                                
        obey pam restrictions = Yes                                   
        password server = srvmexal                                    
        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 = 10000                                                                                                    
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192                                                              
        dns proxy = No                                                                                                          
        panic action = /usr/share/samba/panic-action %d                                                                         
        idmap uid = 10000-20000                                                                                                 
        idmap gid = 10000-20000                                                                                                 
        template homedir = /data/home/%D+%U                                                                                     
        template shell = /bin/bash                                                                                              
        winbind separator = +                                                                                                   
        winbind enum users = Yes                                                                                                
        winbind enum groups = Yes                                                                                               
        invalid users = root                                                                                                    

[homes]
        comment = Home Directories
        valid users = %D+%U       
        read only = No            
        create mask = 0700        
        directory mask = 0700     
        browseable = No           

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700     
        printable = Yes        
        browseable = No        

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

[autentiweb]
        path = /data/autentiweb

[smartres]
        comment = Smart Res
        path = /data/smartres
        admin users = SMARTRES.LOCALDOMAIN+Administrator
        read only = No                                  
        create mask = 0770                              
        force create mode = 0660                        
        directory mask = 0770                           
        force directory mode = 0770                     
        inherit permissions = Yes                       
        inherit acls = Yes                              
        guest ok = Yes                                  
        map acl inherit = Yes                           
        hide unreadable = Yes                           
        store dos attributes = Yes                      

[backup_srvmexal]
        comment = NON USARE
        path = /data/backup_srvmexal
        admin users = SMARTRES.LOCALDOMAIN+Administrator
        read only = No                                  
        create mask = 0770                              
        force create mode = 0660                        
        directory mask = 0770                           
        force directory mode = 0770                     
        inherit permissions = Yes
        inherit acls = Yes
        guest ok = Yes
        map acl inherit = Yes
        hide unreadable = Yes
        store dos attributes = Yes

[downloads]
        comment = SOLO DATI REALMENTE DA CONSERVARE (EVITARE ROBA ILLEGALE E COSE FACILMENTE SCARICABILI DI VOLTA IN VOLTA)
        path = /data/downloads
        admin users = SMARTRES.LOCALDOMAIN+Administrator
        read only = No
        create mask = 0770
        force create mode = 0660
        directory mask = 0770
        force directory mode = 0770
        inherit permissions = Yes
        inherit acls = Yes
        guest ok = Yes
        map acl inherit = Yes
        hide unreadable = Yes
        store dos attributes = Yes

[temp]
        comment = SOLO DATI TEMPORANEI (LA CARTELLA VERRA' SVUOTATA SENZA PREAVVISO)
        path = /data/temp
        admin users = SMARTRES.LOCALDOMAIN+Administrator
        read only = No
        create mask = 0770
        force create mode = 0660
        directory mask = 0770
        force directory mode = 0770
        inherit permissions = Yes
        inherit acls = Yes
        guest ok = Yes
        map acl inherit = Yes
        hide unreadable = Yes
        store dos attributes = Yes

[tomcat]
        path = /opt/tomcat
        admin users = SMARTRES.LOCALDOMAIN+Administrator
        read only = No
        create mask = 0770
        force create mode = 0660
        directory mask = 0770
        force directory mode = 0770
        inherit permissions = Yes
        inherit acls = Yes
        guest ok = Yes
        map acl inherit = Yes
        hide unreadable = Yes
        store dos attributes = Yes


*** crash log 1, happened at 05:39 ******************************

[Thread debugging using libthread_db enabled]
[New Thread 0xb7adb6d0 (LWP 19428)]
0xb7f65424 in __kernel_vsyscall ()
#0  0xb7f65424 in __kernel_vsyscall ()
#1  0xb7ce36f3 in waitpid () from /lib/i686/cmov/libc.so.6
#2  0xb7c8146b in ?? () from /lib/i686/cmov/libc.so.6
#3  0x0812b439 in smb_panic ()
#4  0x08118bf3 in sig_fault ()
#5  <signal handler called>
#6  0xb7f65424 in __kernel_vsyscall ()
#7  0xb7c73640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb7c75018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb7c6c5be in __assert_fail () from /lib/i686/cmov/libc.so.6
#10 0xb7dd26de in ldap_parse_result () from /usr/lib/libldap_r-2.4.so.2
#11 0x0826e154 in ads_do_paged_search_args ()
#12 0x0826e4fc in ads_do_search_all_args ()
#13 0x08273d8e in ads_do_search_retry_internal ()
#14 0x08274969 in ads_do_search_retry ()
#15 0x0826a5a1 in ads_USN ()
#16 0x080b4e64 in sequence_number ()
#17 0x0809d287 in refresh_sequence_number ()
#18 0x0809d473 in wcache_fetch ()
#19 0x0809e774 in lookup_useraliases ()
#20 0x080bdd7f in winbindd_dual_getsidaliases ()
#21 0x080bb73f in fork_domain_child ()
#22 0x080bb90d in schedule_async_request ()
#23 0x080bcbd7 in async_request ()
#24 0x0809753d in init_child_connection ()
#25 0x080bce3e in async_domain_request ()
#26 0x08097781 in add_trusted_domains ()
#27 0x08097b3b in rescan_trusted_domains ()
#28 0x0808dd14 in main ()

*** winbind log 1 ********************************

[2009/03/02 05:35:01,  3] winbindd/winbindd_misc.c:winbindd_interface_version(757)
  [ 9821]: request interface version
[2009/03/02 05:35:01,  3] winbindd/winbindd_misc.c:winbindd_priv_pipe_dir(790)
  [ 9821]: request location of privileged pipe
[2009/03/02 05:35:01,  3] winbindd/winbindd_group.c:winbindd_getgroups(1384)
  [ 9821]: getgroups root
[2009/03/02 05:39:01,  3] winbindd/winbindd_misc.c:winbindd_interface_version(757)
  [ 9904]: request interface version
[2009/03/02 05:39:01,  3] winbindd/winbindd_misc.c:winbindd_priv_pipe_dir(790)
  [ 9904]: request location of privileged pipe
[2009/03/02 05:39:01,  3] winbindd/winbindd_group.c:winbindd_getgroups(1384)
  [ 9904]: getgroups root
[2009/03/02 05:39:02,  3] winbindd/winbindd_misc.c:winbindd_interface_version(757)
  [ 9917]: request interface version
[2009/03/02 05:39:02,  3] winbindd/winbindd_misc.c:winbindd_priv_pipe_dir(790)
  [ 9917]: request location of privileged pipe
[2009/03/02 05:39:02,  3] winbindd/winbindd_group.c:winbindd_getgroups(1384)
  [ 9917]: getgroups identd
[2009/03/02 05:39:37,  3] winbindd/winbindd_misc.c:winbindd_interface_version(757)
  [ 9917]: request interface version
[2009/03/02 05:39:37,  3] winbindd/winbindd_misc.c:winbindd_priv_pipe_dir(790)
  [ 9917]: request location of privileged pipe
[2009/03/02 05:39:37,  3] winbindd/winbindd_group.c:winbindd_getgroups(1384)
  [ 9917]: getgroups identd

NOTE: log entries after the above are in winbind log 2 (below)

*** crash log 2, happened at 05:44 **********************************

[Thread debugging using libthread_db enabled]
[New Thread 0xb7adb6d0 (LWP 19425)]
0xb7f65424 in __kernel_vsyscall ()
#0  0xb7f65424 in __kernel_vsyscall ()
#1  0xb7ce36f3 in waitpid () from /lib/i686/cmov/libc.so.6
#2  0xb7c8146b in ?? () from /lib/i686/cmov/libc.so.6
#3  0x0812b439 in smb_panic ()
#4  0x08118bf3 in sig_fault ()
#5  <signal handler called>
#6  0xb7f65424 in __kernel_vsyscall ()
#7  0xb7c73640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb7c75018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb7dad795 in talloc_get_name () from /usr/lib/libtalloc.so.1
#10 0xb7dad7d6 in talloc_check_name () from /usr/lib/libtalloc.so.1
#11 0x0812b531 in talloc_check_name_abort ()
#12 0x080bc8ce in async_request_timeout_handler ()
#13 0x0813ba29 in run_events ()
#14 0x0808dd0f in main ()

*** winbind log 2 **********************************************

[2009/03/02 05:44:01,  0] lib/fault.c:fault_report(40)
  ===============================================================
[2009/03/02 05:44:01,  0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 6 in pid 19425 (3.2.5)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/03/02 05:44:01,  0] lib/fault.c:fault_report(43)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/03/02 05:44:01,  0] lib/fault.c:fault_report(44)
  ===============================================================
[2009/03/02 05:44:01,  0] lib/util.c:smb_panic(1663)
  PANIC (pid 19425): internal error
[2009/03/02 05:44:01,  0] lib/util.c:log_stack_trace(1767)
  BACKTRACE: 13 stack frames:
   #0 /usr/sbin/winbindd(log_stack_trace+0x2d) [0x812b264]
   #1 /usr/sbin/winbindd(smb_panic+0x80) [0x812b3c1]
   #2 /usr/sbin/winbindd [0x8118bf3]
   #3 [0xb7f65400]
   #4 /lib/i686/cmov/libc.so.6(abort+0x188) [0xb7c75018]
   #5 /usr/lib/libtalloc.so.1(talloc_get_name+0x45) [0xb7dad795]
   #6 /usr/lib/libtalloc.so.1(talloc_check_name+0x26) [0xb7dad7d6]
   #7 /usr/sbin/winbindd(talloc_check_name_abort+0x2c) [0x812b531]
   #8 /usr/sbin/winbindd [0x80bc8ce]
   #9 /usr/sbin/winbindd(run_events+0x134) [0x813ba29]
   #10 /usr/sbin/winbindd(main+0xd58) [0x808dd0f]
   #11 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7c5e455]
   #12 /usr/sbin/winbindd [0x808b841]
[2009/03/02 05:44:01,  0] lib/util.c:smb_panic(1668)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 19425]
[2009/03/02 05:44:01,  0] lib/util.c:smb_panic(1676)
  smb_panic(): action returned status 0
[2009/03/02 05:44:01,  0] lib/fault.c:dump_core(201)
  dumping core in /var/log/samba/cores/winbindd
[2009/03/02 08:17:48,  0] winbindd/winbindd.c:main(1127)
  winbindd version 3.2.5 started.




-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT at euro, LC_CTYPE=it_IT at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages winbind depends on:
ii  adduser              3.110               add and remove users and groups
ii  libc6                2.7-18              GNU C Library: Shared libraries
ii  libcomerr2           1.41.3-1            common error description library
ii  libkrb53             1.6.dfsg.4~beta1-5  MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpam0g             1.0.1-5             Pluggable Authentication Modules l
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libtalloc1           1.2.0~git20080616-1 hierarchical pool based memory all
ii  libwbclient0         2:3.2.5-4           client library for interfacing wit
ii  lsb-base             3.2-20              Linux Standard Base 3.2 init scrip
ii  samba-common         2:3.2.5-4           Samba common files used by both th

winbind recommends no packages.

winbind suggests no packages.

-- no debconf information

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT at euro, LC_CTYPE=it_IT at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages winbind depends on:
ii  adduser              3.110               add and remove users and groups
ii  libc6                2.7-18              GNU C Library: Shared libraries
ii  libcomerr2           1.41.3-1            common error description library
ii  libkrb53             1.6.dfsg.4~beta1-5  MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpam0g             1.0.1-5             Pluggable Authentication Modules l
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libtalloc1           1.2.0~git20080616-1 hierarchical pool based memory all
ii  libwbclient0         2:3.2.5-4           client library for interfacing wit
ii  lsb-base             3.2-20              Linux Standard Base 3.2 init scrip
ii  samba-common         2:3.2.5-4           Samba common files used by both th

winbind recommends no packages.

winbind suggests no packages.

-- no debconf information





More information about the Pkg-samba-maint mailing list