[Samba] smb_panic

Ruud Baart R.J.Baart at Prompt.nl
Wed Nov 22 09:43:32 GMT 2006


We upgraded several servers to samba version 3.0.23d. On a few sites 
there are messages as shown below. The reason for this message is that 
a workstation want to use a share as administrator. This account does not 
exist in a local tdb file. That is correct because we use LDAP as backend. 
In the LDAP an account administrator exists but it is not available for this 
domain (SID does not match).

It seems to me that, although our administrator account is not logic and 
not as expected, there is no reason for this panic. The account is just 
invalid, nothing more then that.

  pdb_get_group_sid: Failed to find Unix account for Administrator
[2006/11/22 09:52:08, 0] smbd/sec_ctx.c:push_sec_ctx(194)
  Security context stack overflow!
[2006/11/22 09:52:08, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 19575): Security context stack overflow!

[2006/11/22 09:52:08, 0] lib/util.c:log_stack_trace(1706)
  BACKTRACE: 64 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822d683]
   #1 /usr/sbin/smbd(smb_panic+0x48) [0x822d508]
   #2 /usr/sbin/smbd(push_sec_ctx+0x1cc) [0x80da3dc]
   #3 /usr/sbin/smbd(become_root+0xb) [0x80d0e4b]
   #4 /usr/sbin/smbd [0x81ee10f]
   #5 /usr/sbin/smbd [0x81edbd0]
   #6 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81ed1a9]
   #7 /usr/sbin/smbd(sid_to_gid+0x189) [0x81f2509]
   #8 /usr/sbin/smbd(pdb_set_group_sid+0x5f) [0x81e610f]
   #9 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x73) [0x81efa13]
   #10 /usr/sbin/smbd(init_sam_from_buffer_v3+0x750) [0x81e9550]
   #11 /usr/sbin/smbd(pdb_copy_sam_account+0x56) [0x81ea446]
   #12 /usr/sbin/smbd(pdb_getsampwsid+0xb0) [0x81eb840]
   #13 /usr/sbin/smbd [0x81ee11b]
   #14 /usr/sbin/smbd [0x81edbd0]
   #15 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81ed1a9]
   #16 /usr/sbin/smbd(sid_to_gid+0x189) [0x81f2509]
   #17 /usr/sbin/smbd(pdb_set_group_sid+0x5f) [0x81e610f]
   #18 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x73) [0x81efa13]
   #19 /usr/sbin/smbd(init_sam_from_buffer_v3+0x750) [0x81e9550]
   #20 /usr/sbin/smbd(pdb_copy_sam_account+0x56) [0x81ea446]
   #21 /usr/sbin/smbd(pdb_getsampwsid+0xb0) [0x81eb840]
   #22 /usr/sbin/smbd [0x81ee11b]
   #23 /usr/sbin/smbd [0x81edbd0]
   #24 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81ed1a9]
   #25 /usr/sbin/smbd(sid_to_gid+0x189) [0x81f2509]
   #26 /usr/sbin/smbd(pdb_set_group_sid+0x5f) [0x81e610f]
   #27 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x73) [0x81efa13]
   #28 /usr/sbin/smbd(init_sam_from_buffer_v3+0x750) [0x81e9550]
   #29 /usr/sbin/smbd(pdb_copy_sam_account+0x56) [0x81ea446]
   #30 /usr/sbin/smbd(pdb_getsampwsid+0xb0) [0x81eb840]
   #31 /usr/sbin/smbd [0x81ee11b]
   #32 /usr/sbin/smbd [0x81edbd0]
   #33 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81ed1a9]
   #34 /usr/sbin/smbd(sid_to_gid+0x189) [0x81f2509]
   #35 /usr/sbin/smbd(pdb_set_group_sid+0x5f) [0x81e610f]
   #36 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x73) [0x81efa13]
   #37 /usr/sbin/smbd(init_sam_from_buffer_v3+0x750) [0x81e9550]
   #38 /usr/sbin/smbd(pdb_copy_sam_account+0x56) [0x81ea446]
   #39 /usr/sbin/smbd(pdb_getsampwsid+0xb0) [0x81eb840]
   #40 /usr/sbin/smbd [0x81ee11b]
   #41 /usr/sbin/smbd [0x81edbd0]
   #42 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81ed1a9]
   #43 /usr/sbin/smbd(sid_to_gid+0x189) [0x81f2509]
   #44 /usr/sbin/smbd(pdb_set_group_sid+0x5f) [0x81e610f]
   #45 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x73) [0x81efa13]
   #46 /usr/sbin/smbd(init_sam_from_buffer_v3+0x750) [0x81e9550]
   #47 /usr/sbin/smbd(pdb_copy_sam_account+0x56) [0x81ea446]
   #48 /usr/sbin/smbd(pdb_getsampwsid+0xb0) [0x81eb840]
   #49 /usr/sbin/smbd [0x81ee11b]
   #50 /usr/sbin/smbd [0x81edbd0]
   #51 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81ed1a9]
   #52 /usr/sbin/smbd(sid_to_gid+0x189) [0x81f2509]
   #53 /usr/sbin/smbd(pdb_set_group_sid+0x5f) [0x81e610f]
   #54 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x73) [0x81efa13]
   #55 /usr/sbin/smbd(init_sam_from_buffer_v3+0x750) [0x81e9550]
   #56 /usr/sbin/smbd(pdb_copy_sam_account+0x56) [0x81ea446]
   #57 /usr/sbin/smbd(pdb_getsampwsid+0xb0) [0x81eb840]
   #58 /usr/sbin/smbd [0x81ee11b]
   #59 /usr/sbin/smbd [0x81edbd0]
   #60 /usr/sbin/smbd(pdb_sid_to_id+0x29) [0x81ed1a9]
   #61 /usr/sbin/smbd(sid_to_gid+0x189) [0x81f2509]
   #62 /usr/sbin/smbd(pdb_set_group_sid+0x5f) [0x81e610f]
   #63 /usr/sbin/smbd(pdb_set_group_sid_from_rid+0x73) [0x81efa13]

Regards,
Ruud Baart



More information about the samba mailing list