Samba error: session setup failed: Call returned zero bytes (EOF)

Stuart Bailey stuart at linusoft.co.uk
Thu Nov 10 14:47:49 GMT 2005


Thanks Jerry.
> Your best option is to tail a level 10 debug log on the
> server and figure out where the smbd process is stalling.

I've tried as you suggest, but unfortunately I don't understand the log 
entries.
I have attached an excerpt at the point when it fails:

[2005/11/10 14:41:49, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/11/10 14:41:49, 9] passdb/passdb.c:pdb_update_autolock_flag(2333)
  pdb_update_autolock_flag: Account stuart not autolocked, no check needed
[2005/11/10 14:41:49, 4] libsmb/ntlm_check.c:ntlm_password_check(326)
  ntlm_password_check: Checking NT MD4 password
[2005/11/10 14:41:49, 4] auth/auth_sam.c:sam_account_ok(122)
  sam_account_ok: Checking SMB password for user stuart
[2005/11/10 14:41:49, 5] auth/auth_sam.c:logon_hours_ok(104)
  logon_hours_ok: user stuart allowed to logon at this time (Thu Nov 10 
14:41:49 2005
  )
[2005/11/10 14:41:49, 10] lib/util_pw.c:getpwnam_alloc(98)
  Got stuart from pwnam_cache
[2005/11/10 14:41:49, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/11/10 14:41:49, 3] smbd/uid.c:push_conn_ctx(388)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/11/10 14:41:49, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/11/10 14:41:49, 5] auth/auth_util.c:debug_nt_user_token(452)
  NT user token: (NULL)
[2005/11/10 14:41:49, 5] auth/auth_util.c:debug_unix_user_token(473)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/11/10 14:41:49, 10] lib/system_smbd.c:sys_getgrouplist(116)
  sys_getgrouplist: user [stuart]
[2005/11/10 14:41:49, 10] lib/system_smbd.c:sys_getgrouplist(125)
  sys_getgrouplist(): disabled winbindd for group lookup [user == stuart]
[2005/11/10 14:41:49, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/11/10 14:41:49, 3] smbd/uid.c:push_conn_ctx(388)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2005/11/10 14:41:49, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/11/10 14:41:49, 5] auth/auth_util.c:debug_nt_user_token(452)
  NT user token: (NULL)
[2005/11/10 14:41:49, 5] auth/auth_util.c:debug_unix_user_token(473)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/11/10 14:41:49, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2005/11/10 14:41:49, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 16118 (3.0.20-4-SUSE)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/11/10 14:41:49, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2005/11/10 14:41:49, 0] lib/util.c:smb_panic2(1548)
  PANIC: internal error
[2005/11/10 14:41:49, 0] lib/util.c:smb_panic2(1556)
  BACKTRACE: 32 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x8c) [0x801e854c]
   #1 /usr/sbin/smbd(smb_panic+0x1a) [0x801e87aa]
   #2 /usr/sbin/smbd [0x801d2e2d]
   #3 [0xffffe420]
   #4 /lib/libnss_ldap.so.2 [0x405d2c30]
   #5 /lib/libnss_ldap.so.2 [0x405d2eb6]
   #6 /lib/libnss_ldap.so.2 [0x405d4e6d]
   #7 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x6a) [0x405d752a]
   #8 /lib/tls/libc.so.6 [0x4035371f]
   #9 /lib/tls/libc.so.6(initgroups+0x6a) [0x4035395a]
   #10 /usr/sbin/smbd [0x801c88ba]
   #11 /usr/sbin/smbd(getgroups_user+0x4a) [0x801c8aaa]
   #12 /usr/sbin/smbd(pdb_default_enum_group_memberships+0x3a) [0x801c8c4a]
   #13 /usr/sbin/smbd [0x801aac33]
   #14 /usr/sbin/smbd(pdb_enum_group_memberships+0x47) [0x801ad6b7]
   #15 /usr/sbin/smbd [0x8022ef60]
   #16 /usr/sbin/smbd [0x802324f2]
   #17 /usr/sbin/smbd(make_server_info_sam+0xd3) [0x80232893]
   #18 /usr/sbin/smbd [0x8022ad0a]
   #19 /usr/sbin/smbd [0x8022b35b]
   #20 /usr/sbin/smbd [0x80228ea2]
   #21 /usr/sbin/smbd [0x8023324e]
   #22 /usr/sbin/smbd [0x800e4969]
   #23 /usr/sbin/smbd(ntlmssp_update+0x167) [0x800e2cb7]
   #24 /usr/sbin/smbd(auth_ntlmssp_update+0x4b) [0x8023364b]
   #25 /usr/sbin/smbd(reply_sesssetup_and_X+0x176d) [0x8007a80d]
   #26 /usr/sbin/smbd [0x800a798e]
   #27 /usr/sbin/smbd(process_smb+0x199) [0x800a8009]
   #28 /usr/sbin/smbd(smbd_process+0x14d) [0x800a848d]
   #29 /usr/sbin/smbd(main+0x8e5) [0x802794c5]
   #30 /lib/tls/libc.so.6(__libc_start_main+0xd0) [0x402e2e80]
   #31 /usr/sbin/smbd [0x8003c1a1]


Many thanks.

Stuart.

-- 
---------------------------------------
Stuart Bailey BSc (hons) CEng CITP MBCS
         LinuSoft (Proprietor)
           Linux Specialist
            (01953) 601294
            (07778) 383739
       http://www.linusoft.co.uk
----------------------------------------


More information about the samba-technical mailing list