Bug 4718 - Winbind with idmap = rid segfaults when connecting from windows host
Summary: Winbind with idmap = rid segfaults when connecting from windows host
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.25a
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL: http://bugs.debian.org/428411
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 09:25 UTC by Debian samba package maintainers (PUBLIC MAILING LIST)
Modified: 2007-06-20 11:39 UTC (History)
0 users

See Also:


Attachments
smb.conf file (10.55 KB, text/plain)
2007-06-20 09:26 UTC, Debian samba package maintainers (PUBLIC MAILING LIST)
no flags Details
Level 10 debug log of a failed session (16.16 KB, application/x-zip)
2007-06-20 09:27 UTC, Debian samba package maintainers (PUBLIC MAILING LIST)
no flags Details
gdb output (6.96 KB, text/plain)
2007-06-20 09:28 UTC, Debian samba package maintainers (PUBLIC MAILING LIST)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Debian samba package maintainers (PUBLIC MAILING LIST) 2007-06-20 09:25:18 UTC
From a user of the Debian packages in unstable (3.0.25a):

I am using the rid idmap backend to resolve names from my windows 2003
domain. This system was working until I updated the packages recently. I
receive an e-mail from samba whenever I try to connect from my windows
server:
The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 17401 (/usr/sbin/winbindd).

Looking at /var/log/samba/log.winbind shows the following entries
(partial log):

[2007/06/11 10:19:24, 3] nsswitch/winbindd_misc.c:winbindd_ping(470)
  [    0]: ping
[2007/06/11 10:19:24, 10] nsswitch/winbindd.c:process_request(311)
  process_request: request fn PING
[2007/06/11 10:19:24, 3] nsswitch/winbindd_misc.c:winbindd_ping(470)
  [    0]: ping
[2007/06/11 10:19:24, 10] nsswitch/winbindd.c:process_request(311)
  process_request: request fn ALLOCATE_GID
[2007/06/11 10:19:24, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2007/06/11 10:19:24, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 6 in pid 17395 (3.0.25a)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2007/06/11 10:19:24, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2007/06/11 10:19:24, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2007/06/11 10:19:24, 0] lib/util.c:smb_panic(1632)
  PANIC (pid 17395): internal error
[2007/06/11 10:19:24, 0] lib/util.c:log_stack_trace(1736)
  BACKTRACE: 13 stack frames:
   #0 /usr/sbin/winbindd(log_stack_trace+0x1c) [0x4d1c3c]
   #1 /usr/sbin/winbindd(smb_panic+0x43) [0x4d1d23]
   #2 /usr/sbin/winbindd [0x4bfb52]
   #3 /lib/libc.so.6 [0x2b863eea0ca0]
   #4 /lib/libc.so.6(gsignal+0x35) [0x2b863eea0c45]
   #5 /lib/libc.so.6(abort+0x110) [0x2b863eea25c0]
   #6 /usr/sbin/winbindd(talloc_get_name+0x38) [0x4b8a28]
   #7 /usr/sbin/winbindd(talloc_check_name+0x1e) [0x4b8c7e]
   #8 /usr/sbin/winbindd(talloc_check_name_abort+0x19) [0x4d1e59]
   #9 /usr/sbin/winbindd [0x476bc4]
   #10 /usr/sbin/winbindd(main+0x83c) [0x44fa2c]
   #11 /lib/libc.so.6(__libc_start_main+0xf4) [0x2b863ee8d8e4]
   #12 /usr/sbin/winbindd [0x44e0e9]
[2007/06/11 10:19:24, 0] lib/util.c:smb_panic(1637)
  smb_panic(): calling panic action [/usr/share/samba/panic-action
17395]
BFD: /usr/sbin/winbindd: don't know how to handle OS specific section
`.gnu.hash' [0x6ffffff6]
"/usr/sbin/winbindd": not in executable format: File format not
recognized
BFD: /usr/sbin/winbindd: don't know how to handle OS specific section
`.gnu.hash' [0x6ffffff6]
"/usr/sbin/winbindd": not in executable format: File format not
recognized
//17395: No such file or directory.
No stack.


Downgrading back to 3.0.24 from Debian testing solved the issue
Comment 1 Debian samba package maintainers (PUBLIC MAILING LIST) 2007-06-20 09:26:33 UTC
Created attachment 2772 [details]
smb.conf file
Comment 2 Debian samba package maintainers (PUBLIC MAILING LIST) 2007-06-20 09:27:22 UTC
Created attachment 2773 [details]
Level 10 debug log of a failed session
Comment 3 Debian samba package maintainers (PUBLIC MAILING LIST) 2007-06-20 09:28:48 UTC
Created attachment 2774 [details]
gdb output

This attachment is the output of gdb when running unstripped winbind binary  from the samba-dbg Debian package
Comment 4 Simo Sorce 2007-06-20 11:39:40 UTC
THe backtrace is lacking symbols, but from the context of the debug output I think this problem is completely fixed in revision 23525
This will be out with 3.0.25b