[Samba] Crashing in Get_Pwnam_internals

Eric Diven eric.diven at edsiohio.com
Tue Nov 25 20:02:45 GMT 2008


I have two samba servers with pretty much identical setups (same
smb.conf, smbd, winbindd, libnss_winbind.so binaries), joined to the
same domain, one of which works, one doesn't.  I'm seeing smbd crashing
when I try to connect to the problem server with the following
information in the logs.

OS is Solaris 10 update 5
samba is a repository snapshot that Volker pointed me at to resolve an
issue with the number of DCs on the domain.

The working server is working pretty much flawlessly, and I can wbinfo
and getent the same information without issue on both servers.  The
crash happens whether I connect with windows or the smbclient, and when
I see it with smbclient, it comes after I've entered the password.

Any ideas what I might check to figure out what's going on?

Thanks,

~Eric

[2008/11/25 13:23:43, 6] param/loadparm.c:lp_file_list_changed(3102)
  lp_file_list_changed()
  file /opt/DEVONsamba/lib/smb.conf -> /opt/DEVONsamba/lib/smb.conf
last mod_time: Tue Nov 25 13:22:57 2008

[2008/11/25 13:23:43, 5] auth/auth_util.c:make_user_info_map(161)
  make_user_info_map: Mapping user [CORP]\[connep] from workstation
[HOUSSFSFL001P]
[2008/11/25 13:23:43, 5] auth/auth_util.c:make_user_info(75)
  attempting to make a user_info for connep (connep)
[2008/11/25 13:23:43, 5] auth/auth_util.c:make_user_info(85)
  making strings for connep's user_info struct
[2008/11/25 13:23:43, 5] auth/auth_util.c:make_user_info(117)
  making blobs for connep's user_info struct
[2008/11/25 13:23:43, 10] auth/auth_util.c:make_user_info(135)
  made an encrypted user_info for connep (connep)
[2008/11/25 13:23:43, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user
[CORP]\[connep]@[HOUSSFSFL001P] with the new password interface
[2008/11/25 13:23:43, 3] auth/auth.c:check_ntlm_password(224)
  check_ntlm_password:  mapped user is: [CORP]\[connep]@[HOUSSFSFL001P]
[2008/11/25 13:23:43, 10] auth/auth.c:check_ntlm_password(233)
  check_ntlm_password: auth_context challenge created by NTLMSSP
callback (NTLM2)
[2008/11/25 13:23:43, 10] auth/auth.c:check_ntlm_password(235)
  challenge is:
[2008/11/25 13:23:43, 5] lib/util.c:dump_data(2265)
  [000] E7 F3 2E FF 09 76 33 58                           .....v3X
[2008/11/25 13:23:43, 10] auth/auth.c:check_ntlm_password(261)
  check_ntlm_password: guest had nothing to say
[2008/11/25 13:23:43, 8] lib/util.c:is_myname(2077)
  is_myname("CORP") returns 0
[2008/11/25 13:23:43, 6] auth/auth_sam.c:check_samstrict_security(415)
  check_samstrict_security: CORP is not one of my local names
(ROLE_DOMAIN_MEMBER)
[2008/11/25 13:23:43, 10] auth/auth.c:check_ntlm_password(261)
  check_ntlm_password: sam had nothing to say
[2008/11/25 13:23:43, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/11/25 13:23:43, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/11/25 13:23:43, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/11/25 13:23:43, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2008/11/25 13:23:43, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2008/11/25 13:23:44, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/11/25 13:23:44, 6] rpc_parse/parse_prs.c:prs_debug(84)
      000000 net_io_user_info3
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          0000 ptr_user_info : 00020004
[2008/11/25 13:23:44, 7] rpc_parse/parse_prs.c:prs_debug(84)
          000004 smb_io_time logon time
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0004 low : 089629b5
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0008 high: 01c93e87

---- OUTPUT CONTINUES FOR A WHILE LIKE THIS ----

[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      106b id_auth[5] : 05
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint32s(997)
                      106c sub_auths : 00000015 494536f5 62e26657
6b635f23 0001b271
[2008/11/25 13:23:44, 8] rpc_parse/parse_prs.c:prs_debug(84)
              001080 smb_io_dom_sid2
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint32(710)
                  1080 num_auths: 00000005
[2008/11/25 13:23:44, 9] rpc_parse/parse_prs.c:prs_debug(84)
                  001084 smb_io_dom_sid sid
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      1084 sid_rev_num: 01
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      1085 num_auths  : 05
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      1086 id_auth[0] : 00
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      1087 id_auth[1] : 00
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      1088 id_auth[2] : 00
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      1089 id_auth[3] : 00
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      108a id_auth[4] : 00
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      108b id_auth[5] : 05
[2008/11/25 13:23:44, 5] rpc_parse/parse_prs.c:prs_uint32s(997)
                      108c sub_auths : 00000015 494536f5 62e26657
6b635f23 00025356
[2008/11/25 13:23:44, 5] lib/username.c:Get_Pwnam_alloc(131)
  Finding user CORP+connep
[2008/11/25 13:23:44, 5] lib/username.c:Get_Pwnam_internals(75)
  Trying _Get_Pwnam(), username as lowercase is corp+connep
[2008/11/25 13:23:44, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2008/11/25 13:23:44, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 6413 (3.0.33-GIT-UNKNOWN)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2008/11/25 13:23:44, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2008/11/25 13:23:44, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2008/11/25 13:23:44, 0] lib/util.c:smb_panic(1634)
  PANIC (pid 6413): internal error
[2008/11/25 13:23:44, 0] lib/util.c:log_stack_trace(1788)
  unable to produce a stack trace on this platform
[2008/11/25 13:23:44, 0] lib/fault.c:dump_core(181)
  dumping core in /opt/DEVONsamba/var/cores/smbd


More information about the samba mailing list