Below is a log file of a panic that occurs on two different sites
running Debian Stable Samba 3.2.5. The problem is triggered by Sophos
Control Centre doing it's hourly check for updates, and as SCC is
running on a user's PC in both cases causes problems for the user. I've
tried everything and cannot figure it out - anyone got any
pointers/ideas what to do next ?
[2009/05/18 22:04:17, 5] rpc_server/srv_lsa_nt.c:lookup_lsa_rids(166)
lookup_lsa_rids: looking up name \\REBECCA\EMLibrary Users
[2009/05/18 22:04:17, 10] passdb/lookup_sid.c:lookup_name(69)
lookup_name: \\REBECCA\EMLibrary Users => (domain),
\REBECCA\EMLibrary Users (name)
[2009/05/18 22:04:17, 10] passdb/lookup_sid.c:lookup_name(70)
lookup_name: flags = 0x043
[2009/05/18 22:04:17, 5]
passdb/secrets.c:secrets_fetch_trusted_domain_password(644)
secrets_fetch failed!
[2009/05/18 22:04:17, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/05/18 22:04:17, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(108) : conn_ctx_stack_ndx = 1
[2009/05/18 22:04:17, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/05/18 22:04:17, 5] auth/token_util.c:debug_nt_user_token(464)
NT user token: (NULL)
[2009/05/18 22:04:17, 5] auth/token_util.c:debug_unix_user_token(490)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2009/05/18 22:04:17, 5] passdb/pdb_tdb.c:tdbsam_getsampwnam(911)
pdb_getsampwnam (TDB): error fetching database.
Key: USER_\rebecca\emlibrary users
[2009/05/18 22:04:17, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/05/18 22:04:17, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/05/18 22:04:17, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(108) : conn_ctx_stack_ndx = 1
[2009/05/18 22:04:17, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/05/18 22:04:17, 5] auth/token_util.c:debug_nt_user_token(464)
NT user token: (NULL)
[2009/05/18 22:04:17, 5] auth/token_util.c:debug_unix_user_token(490)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2009/05/18 22:04:17, 0] lib/fault.c:fault_report(40)
==============================================================[2009/05/18
22:04:17, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 6 in pid 18208 (3.2.5)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/05/18 22:04:17, 0] lib/fault.c:fault_report(43)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/05/18 22:04:17, 0] lib/fault.c:fault_report(44)
==============================================================[2009/05/18
22:04:17, 0] lib/util.c:smb_panic(1663)
PANIC (pid 18208): internal error
[2009/05/18 22:04:17, 0] lib/util.c:log_stack_trace(1767)
BACKTRACE: 25 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x8201d24]
#1 /usr/sbin/smbd(smb_panic+0x80) [0x8201e81]
#2 /usr/sbin/smbd [0x81ecc73]
#3 [0xb7f2c420]
#4 /lib/i686/cmov/libc.so.6(abort+0x188) [0xb7b01018]
#5 /usr/lib/libtalloc.so.1(_talloc_steal+0x175) [0xb7c3ab45]
#6 /usr/sbin/smbd [0x823c49b]
#7 /usr/sbin/smbd(pdb_default_getgrnam+0x90) [0x8238fdf]
#8 /usr/sbin/smbd(pdb_getgrnam+0x26) [0x81b4250]
#9 /usr/sbin/smbd(lookup_global_sam_name+0x1ad) [0x84a9ab1]
#10 /usr/sbin/smbd(lookup_name+0x7b1) [0x81b956c]
#11 /usr/sbin/smbd(_lsa_LookupNames+0x349) [0x84899d2]
#12 /usr/sbin/smbd [0x81201f1]
#13 /usr/sbin/smbd(api_rpcTNP+0x2b6) [0x818d229]
#14 /usr/sbin/smbd(api_pipe_request+0x238) [0x818d821]
#15 /usr/sbin/smbd [0x8186d85]
#16 /usr/sbin/smbd(write_to_pipe+0x13d) [0x818530e]
#17 /usr/sbin/smbd [0x841506e]
#18 /usr/sbin/smbd [0x84157d5]
#19 /usr/sbin/smbd(reply_trans+0x726) [0x84163c8]
#20 /usr/sbin/smbd [0x80de096]
#21 /usr/sbin/smbd(smbd_process+0x429) [0x80dfbe1]
#22 /usr/sbin/smbd(main+0xfa2) [0x80a747f]
#23 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7aea455]
#24 /usr/sbin/smbd [0x80a4511]
[2009/05/18 22:04:17, 0] lib/util.c:smb_panic(1668)
smb_panic(): calling panic action [/usr/share/samba/panic-action 18208]
Failed to read a valid object file image from memory.
[2009/05/18 22:04:17, 0] lib/util.c:smb_panic(1676)
smb_panic(): action returned status 0