Bug 4000 - samba panic
Summary: samba panic
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.23a
Hardware: Other Windows XP
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-04 19:57 UTC by Luis Atala
Modified: 2006-11-08 21:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Atala 2006-08-04 19:57:36 UTC
[2006/08/04 20:51:35, 0] smbd/server.c:main(847)
  smbd version 3.0.23a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/08/04 20:51:35, 0] passdb/pdb_interface.c:make_pdb_method_name(174)
  No builtin nor plugin backend for tdbsam guest found
[2006/08/04 20:51:35, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 14410): pdb_get_methods_reload: failed to get pdb methods for backend tdbsam guest

[2006/08/04 20:51:35, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 7 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822cc13]
   #1 /usr/sbin/smbd(smb_panic+0x48) [0x822ca98]
   #2 /usr/sbin/smbd [0x81eadd6]
   #3 /usr/sbin/smbd(initialize_password_db+0x11) [0x81ecd61]
   #4 /usr/sbin/smbd(main+0x36a) [0x82c174a]
   #5 /lib/libc.so.6(__libc_start_main+0xc6) [0x4019de36]
   #6 /usr/sbin/smbd [0x8082d31]
[2006/08/04 20:51:35, 0] lib/util.c:smb_panic(1600)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 14410]
[2006/08/04 20:51:36, 0] lib/util.c:smb_panic(1608)
  smb_panic(): action returned status 0
[2006/08/04 20:51:36, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd



what is that ?
help in there please!

regards
Comment 1 Gerald (Jerry) Carter (dead mail address) 2006-08-04 20:16:18 UTC
Please read the release notes.  multiple passdb backends 
are no longer supported.  In addition, the guest backend 
was never documented to be included in smb.conf.  Just set

   passdb backend = tdbsam
Comment 2 Luis Atala 2006-08-05 08:34:53 UTC
(In reply to comment #1)
> Please read the release notes.  multiple passdb backends 
> are no longer supported.  In addition, the guest backend 
> was never documented to be included in smb.conf.  Just set
> 
>    passdb backend = tdbsam
> 

he is still giving me the same message 
i supos to add that in smb.conf rigth?
Comment 3 Gerald (Jerry) Carter (dead mail address) 2006-08-05 10:44:02 UTC
yes.
Comment 4 Luis Atala 2006-08-08 10:00:26 UTC
(In reply to comment #3)
> yes.
> 

well i did all ready and is doing the same 
i had to downgrade to the samba version i had before

Comment 5 Gerald (Jerry) Carter (dead mail address) 2006-08-08 10:06:08 UTC
Please attach (not inline) the gzipped output from smbd -d 10 -i
Comment 6 Peter Eisentraut 2006-08-10 09:11:50 UTC
I'd like to add that a segmentation fault is probably a suboptimal way to react to an invalid configuration file setting.  It should just terminate normally after "failed to get pdb methods" or whatever.
Comment 7 Gerald (Jerry) Carter (dead mail address) 2006-08-10 10:10:20 UTC
(In reply to comment #6)
> I'd like to add that a segmentation fault is probably a 
> suboptimal way to react to an invalid configuration file 
> setting.  It should just terminate normally after "failed 
> to get pdb methods" or whatever.

It's not a seg fault.  It's a forced panic (similar to as 
assert() firing).
Comment 8 Gerald (Jerry) Carter (dead mail address) 2006-08-22 11:18:55 UTC
no response.  Pretty sure this is just a config error.
Comment 9 peter green 2006-11-08 21:14:01 UTC
>multiple passdb backends are no longer supported.
so why doesn't the panic say that rather than a cryptic "failed to get pdb methods for backend tdbsam guest"