On 12.04.2012 11:38, Volker Lendecke wrote: > On Thu, Apr 12, 2012 at 10:52:48AM +0200, Christian Manal wrote: >> Hi, >> >> I recently updated to Samba 3.6.4 from 3.6.0 (on Solaris 10 x86). Since >> then, passwordless guest authentication makes smbd crash with a segfault. >> >> I run the following command to test if the Samba server is available via >> Nagios: >> >> smbclient -U guest -N -L smb-serv >> >> Since the update, it returns with: >> >> session setup failed: NT_STATUS_PIPE_BROKEN >> >> >> Server side level 10 log and a stacktrace of the resulting coredump are >> attached. Any help with this would be appreciated. > > Sorry, but I do not see the level 10 log. > > Volker > Hmm, seems like it got swallowed somewhere along the way. The attachment is there in my outgoing mail folder. Second try. Regards, Christian Manal
[2012/04/12 10:41:18.762778, 6] param/loadparm.c:7490(lp_file_list_changed)
lp_file_list_changed()
file /services/samba/etc/smb.conf -> /services/samba/etc/smb.conf last mod_time: Thu Apr 12 10:41:12 2012
[2012/04/12 10:41:18.762908, 5] auth/auth_util.c:110(make_user_info_map)
Mapping user [WORKGROUP]\[guest] from workstation [CLIENT]
[2012/04/12 10:41:18.762969, 5] auth/auth_util.c:131(make_user_info_map)
Mapped domain from [WORKGROUP] to [SMB-SERV] for user [guest] from workstation [CLIENT]
[2012/04/12 10:41:18.763007, 5] auth/user_info.c:59(make_user_info)
attempting to make a user_info for guest (guest)
[2012/04/12 10:41:18.763042, 5] auth/user_info.c:70(make_user_info)
making strings for guest's user_info struct
[2012/04/12 10:41:18.763079, 5] auth/user_info.c:87(make_user_info)
making blobs for guest's user_info struct
[2012/04/12 10:41:18.763115, 10] auth/user_info.c:123(make_user_info)
made a user_info for guest (guest)
[2012/04/12 10:41:18.763149, 3] auth/auth.c:219(check_ntlm_password)
check_ntlm_password: Checking password for unmapped user [WORKGROUP]\[guest]@[CLIENT] with the new password interface
[2012/04/12 10:41:18.763186, 3] auth/auth.c:222(check_ntlm_password)
check_ntlm_password: mapped user is: [SMB-SERV]\[guest]@[CLIENT]
[2012/04/12 10:41:18.763221, 10] auth/auth.c:231(check_ntlm_password)
check_ntlm_password: auth_context challenge created by NTLMSSP callback (NTLM2)
[2012/04/12 10:41:18.763256, 10] auth/auth.c:233(check_ntlm_password)
challenge is:
[2012/04/12 10:41:18.763289, 5] ../lib/util/util.c:415(dump_data)
[0000] D2 C1 61 CD 4E BB 7A 50 ..a.N.zP
[2012/04/12 10:41:18.763364, 10] auth/auth_builtin.c:44(check_guest_security)
Check auth for: [guest]
[2012/04/12 10:41:18.763398, 10] auth/auth.c:259(check_ntlm_password)
check_ntlm_password: guest had nothing to say
[2012/04/12 10:41:18.763443, 10] auth/auth_sam.c:75(auth_samstrict_auth)
Check auth for: [guest]
[2012/04/12 10:41:18.763478, 8] lib/util.c:1521(is_myname)
is_myname("SMB-SERV") returns 1
[2012/04/12 10:41:18.763516, 4] smbd/sec_ctx.c:214(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2012/04/12 10:41:18.763566, 4] smbd/uid.c:460(push_conn_ctx)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2012/04/12 10:41:18.763602, 4] smbd/sec_ctx.c:314(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2012/04/12 10:41:18.763636, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2012/04/12 10:41:18.763671, 5] auth/token_util.c:527(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2012/04/12 10:41:18.763806, 5] lib/smbldap.c:1439(smbldap_search_ext)
smbldap_search_ext: base => [dc=example,dc=com], filter => [(&(uid=guest)(objectclass=sambaSamAccount))], scope => [2]
[2012/04/12 10:41:18.764930, 5] lib/smbldap.c:1341(smbldap_close)
The connection to the LDAP server was closed
[2012/04/12 10:41:18.764998, 10] lib/smbldap.c:819(smb_ldap_setup_conn)
smb_ldap_setup_connection: ldap://ldap.example.com/
[2012/04/12 10:41:18.788259, 3] lib/smbldap.c:803(smb_ldap_start_tls)
StartTLS issued: using a TLS connection
[2012/04/12 10:41:18.788373, 2] lib/smbldap.c:1018(smbldap_open_connection)
smbldap_open_connection: connection opened
[2012/04/12 10:41:18.788411, 10] lib/smbldap.c:1194(smbldap_connect_system)
ldap_connect_system: Binding to ldap server ldap://ldap.example.com/ as "cn=samba,dc=example,dc=com"
[2012/04/12 10:41:18.789588, 3] lib/smbldap.c:1240(smbldap_connect_system)
ldap_connect_system: successful connection to the LDAP server
ldap_connect_system: LDAP server does support paged results
[2012/04/12 10:41:18.789653, 4] lib/smbldap.c:1319(smbldap_open)
The LDAP server is successfully connected
[2012/04/12 10:41:18.791015, 4] passdb/pdb_ldap.c:1581(ldapsam_getsampwnam)
ldapsam_getsampwnam: Unable to locate user [guest] count=0
[2012/04/12 10:41:18.791085, 4] smbd/sec_ctx.c:422(pop_sec_ctx)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/04/12 10:41:18.791122, 3] auth/check_samsec.c:399(check_sam_security)
check_sam_security: Couldn't find user 'guest' in passdb.
[2012/04/12 10:41:18.791160, 5] auth/auth.c:271(check_ntlm_password)
check_ntlm_password: sam authentication for user [guest] FAILED with error NT_STATUS_NO_SUCH_USER
[2012/04/12 10:41:18.791200, 2] auth/auth.c:319(check_ntlm_password)
check_ntlm_password: Authentication for user [guest] -> [guest] FAILED with error NT_STATUS_NO_SUCH_USER
[2012/04/12 10:41:18.791258, 3] smbd/error.c:81(error_packet_set)
error packet at smbd/sesssetup.c(124) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
[2012/04/12 10:41:18.791310, 5] lib/util.c:332(show_msg)
[2012/04/12 10:41:18.791336, 5] lib/util.c:342(show_msg)
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51203
smb_tid=0
smb_pid=28276
smb_uid=100
smb_mid=3
smt_wct=0
smb_bcc=0
[2012/04/12 10:41:18.791499, 10] ../lib/util/util.c:415(dump_data)
[2012/04/12 10:41:18.792060, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
got smb length of 88
[2012/04/12 10:41:18.792109, 6] smbd/process.c:1660(process_smb)
got message type 0x0 of len 0x58
[2012/04/12 10:41:18.792147, 3] smbd/process.c:1662(process_smb)
Transaction 3 of length 92 (0 toread)
[2012/04/12 10:41:18.792182, 5] lib/util.c:332(show_msg)
[2012/04/12 10:41:18.792204, 5] lib/util.c:342(show_msg)
size=88
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=65535
smb_pid=28276
smb_uid=0
smb_mid=4
smt_wct=13
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_vwv[ 2]=65535 (0xFFFF)
smb_vwv[ 3]= 2 (0x2)
smb_vwv[ 4]=28276 (0x6E74)
smb_vwv[ 5]=23357 (0x5B3D)
smb_vwv[ 6]= 0 (0x0)
smb_vwv[ 7]= 0 (0x0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]= 0 (0x0)
smb_vwv[11]=53340 (0xD05C)
smb_vwv[12]= 0 (0x0)
smb_bcc=27
[2012/04/12 10:41:18.792515, 10] ../lib/util/util.c:415(dump_data)
[0000] 00 00 00 00 00 55 00 6E 00 69 00 78 00 00 00 53 .....U.n .i.x...S
[0010] 00 61 00 6D 00 62 00 61 00 00 00 .a.m.b.a ...
[2012/04/12 10:41:18.792646, 3] smbd/process.c:1467(switch_message)
switch message SMBsesssetupX (pid 23357) conn 0x0
[2012/04/12 10:41:18.792682, 4] smbd/sec_ctx.c:314(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/04/12 10:41:18.792718, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2012/04/12 10:41:18.792753, 5] auth/token_util.c:527(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2012/04/12 10:41:18.792803, 5] smbd/uid.c:400(change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/04/12 10:41:18.792840, 3] smbd/sesssetup.c:1333(reply_sesssetup_and_X)
wct=13 flg2=0xc801
[2012/04/12 10:41:18.792895, 3] smbd/sesssetup.c:1536(reply_sesssetup_and_X)
Domain=[] NativeOS=[Unix] NativeLanMan= PrimaryDomain=[null]
[2012/04/12 10:41:18.792932, 3] smbd/sesssetup.c:1552(reply_sesssetup_and_X)
sesssetupX:name=[]\[]@[slartibartfast]
[2012/04/12 10:41:18.793039, 6] param/loadparm.c:7490(lp_file_list_changed)
lp_file_list_changed()
file /services/samba/etc/smb.conf -> /services/samba/etc/smb.conf last mod_time: Thu Apr 12 10:41:12 2012
[2012/04/12 10:41:18.793116, 3] smbd/sesssetup.c:151(check_guest_password)
Got anonymous request
[2012/04/12 10:41:18.793152, 5] auth/auth.c:495(make_auth_context_subsystem)
Making default auth method list for standalone security=user, encrypt passwords = yes
[2012/04/12 10:41:18.793193, 5] auth/auth.c:385(load_auth_module)
load_auth_module: Attempting to find an auth method to match guest
[2012/04/12 10:41:18.793229, 5] auth/auth.c:410(load_auth_module)
load_auth_module: auth method guest has a valid init
[2012/04/12 10:41:18.793264, 5] auth/auth.c:385(load_auth_module)
load_auth_module: Attempting to find an auth method to match sam
[2012/04/12 10:41:18.793300, 5] auth/auth.c:410(load_auth_module)
load_auth_module: auth method sam has a valid init
[2012/04/12 10:41:18.793335, 5] auth/user_info.c:59(make_user_info)
attempting to make a user_info for ()
[2012/04/12 10:41:18.793371, 5] auth/user_info.c:70(make_user_info)
making strings for 's user_info struct
[2012/04/12 10:41:18.793406, 5] auth/user_info.c:87(make_user_info)
making blobs for 's user_info struct
[2012/04/12 10:41:18.793441, 10] auth/user_info.c:123(make_user_info)
made a user_info for ()
[2012/04/12 10:41:18.793477, 3] auth/auth.c:219(check_ntlm_password)
check_ntlm_password: Checking password for unmapped user []\[]@[] with the new password interface
[2012/04/12 10:41:18.793513, 3] auth/auth.c:222(check_ntlm_password)
check_ntlm_password: mapped user is: []\[]@[]
[2012/04/12 10:41:18.793547, 10] auth/auth.c:231(check_ntlm_password)
check_ntlm_password: auth_context challenge created by fixed
[2012/04/12 10:41:18.793581, 10] auth/auth.c:233(check_ntlm_password)
challenge is:
[2012/04/12 10:41:18.793614, 5] ../lib/util/util.c:415(dump_data)
[0000] 00 00 00 00 00 00 00 00 ........
[2012/04/12 10:41:18.793686, 10] auth/auth_builtin.c:44(check_guest_security)
Check auth for: []
[2012/04/12 10:41:18.793744, 3] auth/auth.c:268(check_ntlm_password)
check_ntlm_password: guest authentication for user [] succeeded
[2012/04/12 10:41:18.793783, 5] auth/auth.c:309(check_ntlm_password)
check_ntlm_password: guest authentication for user [] -> [] -> [nobody] succeeded
[2012/04/12 10:41:18.793829, 10] smbd/password.c:199(register_initial_vuid)
register_initial_vuid: allocated vuid = 101
[2012/04/12 10:41:18.793866, 10] smbd/password.c:293(register_existing_vuid)
register_existing_vuid: (60001,60001) nobody nobody SMB-SERV guest=1
[2012/04/12 10:41:18.793902, 3] smbd/password.c:297(register_existing_vuid)
[2012/04/12 10:41:18.793944, 0] lib/fault.c:47(fault_report)
===============================================================
[2012/04/12 10:41:18.794006, 0] lib/fault.c:48(fault_report)
INTERNAL ERROR: Signal 11 in pid 23357 (3.6.4)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2012/04/12 10:41:18.794053, 0] lib/fault.c:50(fault_report)
From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2012/04/12 10:41:18.794097, 0] lib/fault.c:51(fault_report)
===============================================================
[2012/04/12 10:41:18.794131, 0] lib/util.c:1117(smb_panic)
PANIC (pid 23357): internal error
[2012/04/12 10:41:18.794197, 0] lib/util.c:1271(log_stack_trace)
unable to produce a stack trace on this platform
[2012/04/12 10:41:18.794257, 0] lib/fault.c:372(dump_core)
dumping core in /services/samba/var/cores/smbd
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Linux] [Info Cyrus] [LARTC] [Bugtraq] [Netfilter] [Internet Dating Forums] [RAID] [Yosemite News] [Photography]
![]() |
![]() |