Skip to content

Instantly share code, notes, and snippets.

@Karunamon
Created April 30, 2018 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Karunamon/8665a3a5fbcc11954a2cd15f0ccffef6 to your computer and use it in GitHub Desktop.
Save Karunamon/8665a3a5fbcc11954a2cd15f0ccffef6 to your computer and use it in GitHub Desktop.
a# tail -f log.192.168.88.250
[2018/04/29 19:13:34.158358, 6, pid=22094, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2324(lp_file_list_changed)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Apr 29 18:26:16 2018
[2018/04/29 19:13:34.158455, 3, pid=22094, effective(0, 0), real(0, 0), class=locking] ../source3/smbd/oplock.c:1340(init_oplocks)
init_oplocks: initializing messages.
[2018/04/29 19:13:34.158506, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 774 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158537, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 778 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158566, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 770 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158595, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 787 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158627, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 779 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158656, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 15 - private_data=(nil)
[2018/04/29 19:13:34.158683, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:470(messaging_register)
Overriding messaging pointer for type 15 - private_data=(nil)
[2018/04/29 19:13:34.158712, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 16 - private_data=(nil)
[2018/04/29 19:13:34.158740, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 16 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158769, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 33 - private_data=0x55dc23bc9370
[2018/04/29 19:13:34.158794, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 33 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158822, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 790 - private_data=(nil)
[2018/04/29 19:13:34.158851, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 790 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.158888, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 791 - private_data=(nil)
[2018/04/29 19:13:34.158918, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 1 - private_data=(nil)
[2018/04/29 19:13:34.158951, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 1 - private_data=(nil)
[2018/04/29 19:13:34.158981, 10, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
event_add_idle: idle_evt(keepalive) 0x55dc23bf7160
[2018/04/29 19:13:34.159011, 10, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
event_add_idle: idle_evt(deadtime) 0x55dc23bf7330
[2018/04/29 19:13:34.159041, 10, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
event_add_idle: idle_evt(housekeeping) 0x55dc23bf7500
[2018/04/29 19:13:34.159095, 10, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:248(read_smb_length_return_keepalive)
got smb length of 155
[2018/04/29 19:13:34.159149, 6, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1957(process_smb)
got message type 0x0 of len 0x9b
[2018/04/29 19:13:34.159180, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1959(process_smb)
Transaction 0 of length 159 (0 toread)
[2018/04/29 19:13:34.159209, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util.c:184(show_msg)
[2018/04/29 19:13:34.159230, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util.c:194(show_msg)
size=155
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51283
smb_tid=65535
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=120
[2018/04/29 19:13:34.159313, 10, pid=22094, effective(0, 0), real(0, 0)] ../lib/util/util.c:515(dump_data)
[0000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG
[0010] 52 41 4D 20 31 2E 30 00 02 4C 41 4E 4D 41 4E 31 RAM 1.0. .LANMAN1
[0020] 2E 30 00 02 57 69 6E 64 6F 77 73 20 66 6F 72 20 .0..Wind ows for
[0030] 57 6F 72 6B 67 72 6F 75 70 73 20 33 2E 31 61 00 Workgrou ps 3.1a.
[0040] 02 4C 4D 31 2E 32 58 30 30 32 00 02 4C 41 4E 4D .LM1.2X0 02..LANM
[0050] 41 4E 32 2E 31 00 02 4E 54 20 4C 4D 20 30 2E 31 AN2.1..N T LM 0.1
[0060] 32 00 02 53 4D 42 20 32 2E 30 30 32 00 02 53 4D 2..SMB 2 .002..SM
[0070] 42 20 32 2E 3F 3F 3F 00 B 2.???.
[2018/04/29 19:13:34.159555, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1539(switch_message)
switch message SMBnegprot (pid 22094) conn 0x0
[2018/04/29 19:13:34.159604, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.159645, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.159688, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.159751, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.161070, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2018/04/29 19:13:34.161111, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [LANMAN1.0]
[2018/04/29 19:13:34.161131, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [Windows for Workgroups 3.1a]
[2018/04/29 19:13:34.161152, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [LM1.2X002]
[2018/04/29 19:13:34.161173, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [LANMAN2.1]
[2018/04/29 19:13:34.161193, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [NT LM 0.12]
[2018/04/29 19:13:34.161213, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [SMB 2.002]
[2018/04/29 19:13:34.161233, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:629(reply_negprot)
Requested protocol [SMB 2.???]
[2018/04/29 19:13:34.161255, 10, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1349(set_remote_arch)
set_remote_arch: Client arch is 'UNKNOWN'
[2018/04/29 19:13:34.161301, 6, pid=22094, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2324(lp_file_list_changed)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Apr 29 18:26:16 2018
[2018/04/29 19:13:34.161344, 5, pid=22094, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
check lock order 2 for /var/run/samba/serverid.tdb
[2018/04/29 19:13:34.161371, 10, pid=22094, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
lock order: 1:<none> 2:/var/run/samba/serverid.tdb 3:<none>
[2018/04/29 19:13:34.161398, 10, pid=22094, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Locking key 4E56000000000000FFFF
[2018/04/29 19:13:34.161420, 10, pid=22094, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
Allocated locked data 0x0x55dc23bf2bb0
[2018/04/29 19:13:34.161442, 10, pid=22094, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Unlocking key 4E56000000000000FFFF
[2018/04/29 19:13:34.161462, 5, pid=22094, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
release lock order 2 for /var/run/samba/serverid.tdb
[2018/04/29 19:13:34.161482, 10, pid=22094, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
lock order: 1:<none> 2:<none> 3:<none>
[2018/04/29 19:13:34.161522, 6, pid=22094, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2324(lp_file_list_changed)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Apr 29 18:26:16 2018
[2018/04/29 19:13:34.161567, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:3537(smbd_smb2_process_negprot)
smbd_smb2_first_negprot: packet length 102
[2018/04/29 19:13:34.161596, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2_credits] ../source3/smbd/smb2_server.c:678(smb2_validate_sequence_number)
smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 0 (position 0) from bitmap
[2018/04/29 19:13:34.161623, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:2327(smbd_smb2_request_dispatch)
smbd_smb2_request_dispatch: opcode[SMB2_OP_NEGPROT] mid = 0
[2018/04/29 19:13:34.161644, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.161663, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.161682, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.161713, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.161739, 10, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1349(set_remote_arch)
set_remote_arch: Client arch is 'Vista'
[2018/04/29 19:13:34.161776, 6, pid=22094, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2324(lp_file_list_changed)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Apr 29 18:26:16 2018
[2018/04/29 19:13:34.161819, 3, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
Selected protocol SMB2_FF
[2018/04/29 19:13:34.161841, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:537(make_auth3_context_for_ntlm)
Making default auth method list for server role = 'standalone server', encrypt passwords = yes
[2018/04/29 19:13:34.161864, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend trustdomain
[2018/04/29 19:13:34.161891, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'trustdomain'
[2018/04/29 19:13:34.161912, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend ntdomain
[2018/04/29 19:13:34.161938, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'ntdomain'
[2018/04/29 19:13:34.161958, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend guest
[2018/04/29 19:13:34.161978, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'guest'
[2018/04/29 19:13:34.161997, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam
[2018/04/29 19:13:34.162018, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam'
[2018/04/29 19:13:34.162036, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam_ignoredomain
[2018/04/29 19:13:34.162053, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam_ignoredomain'
[2018/04/29 19:13:34.162070, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam_netlogon3
[2018/04/29 19:13:34.162090, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam_netlogon3'
[2018/04/29 19:13:34.162107, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend winbind
[2018/04/29 19:13:34.162125, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'winbind'
[2018/04/29 19:13:34.162143, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend unix
[2018/04/29 19:13:34.162161, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'unix'
[2018/04/29 19:13:34.162180, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend samba4
[2018/04/29 19:13:34.162200, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'samba4'
[2018/04/29 19:13:34.162220, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match guest
[2018/04/29 19:13:34.162240, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method guest has a valid init
[2018/04/29 19:13:34.162264, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match sam_ignoredomain
[2018/04/29 19:13:34.162284, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method sam_ignoredomain has a valid init
[2018/04/29 19:13:34.164413, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_spnego' registered
[2018/04/29 19:13:34.164445, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_krb5' registered
[2018/04/29 19:13:34.164467, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_krb5_sasl' registered
[2018/04/29 19:13:34.164488, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'spnego' registered
[2018/04/29 19:13:34.164520, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'schannel' registered
[2018/04/29 19:13:34.164542, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'naclrpc_as_system' registered
[2018/04/29 19:13:34.164563, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'sasl-EXTERNAL' registered
[2018/04/29 19:13:34.164582, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'ntlmssp' registered
[2018/04/29 19:13:34.164603, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'ntlmssp_resume_ccache' registered
[2018/04/29 19:13:34.164625, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'http_basic' registered
[2018/04/29 19:13:34.164649, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'http_ntlm' registered
[2018/04/29 19:13:34.164671, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'krb5' registered
[2018/04/29 19:13:34.164692, 3, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'fake_gssapi_krb5' registered
[2018/04/29 19:13:34.164778, 5, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC mechanism spnego
[2018/04/29 19:13:34.164826, 5, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC submechanism ntlmssp
[2018/04/29 19:13:34.164881, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:3062(smbd_smb2_request_done_ex)
smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[64] dyn[yes:74] at ../source3/smbd/smb2_negprot.c:705
[2018/04/29 19:13:34.164925, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2_credits] ../source3/smbd/smb2_server.c:936(smb2_set_operation_credit)
smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 512/512, total granted/max/low/range 1/8192/1/1
[2018/04/29 19:13:34.164963, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:770(reply_negprot)
Selected protocol SMB 2.???
[2018/04/29 19:13:34.164986, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:772(reply_negprot)
negprot index=7
[2018/04/29 19:13:34.165248, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:3934(smbd_smb2_io_handler)
smbd_smb2_request idx[1] of 5 vectors
[2018/04/29 19:13:34.165307, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2_credits] ../source3/smbd/smb2_server.c:678(smb2_validate_sequence_number)
smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 1 (position 1) from bitmap
[2018/04/29 19:13:34.165338, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:2327(smbd_smb2_request_dispatch)
smbd_smb2_request_dispatch: opcode[SMB2_OP_NEGPROT] mid = 1
[2018/04/29 19:13:34.165368, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.165408, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.165435, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.165487, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.165544, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/04/29 19:13:34.165581, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/04/29 19:13:34.165609, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/04/29 19:13:34.165636, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.165663, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.165756, 10, pid=22094, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:324(gencache_set_data_blob)
Adding cache entry with key=[RA/95051236-4c0d-11e8-8a58-2c4d546858db] and timeout=[Wed Dec 31 05:00:00 PM 1969 MST] (-1525050814 seconds in the past)
[2018/04/29 19:13:34.165869, 10, pid=22094, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:666(gencache_stabilize)
Could not get allrecord lock on gencache_notrans.tdb: Locking error
[2018/04/29 19:13:34.165907, 10, pid=22094, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:324(gencache_set_data_blob)
Adding cache entry with key=[RA/95051236-4c0d-11e8-8a58-2c4d546858db] and timeout=[Sun May 6 07:13:34 PM 2018 MDT] (604800 seconds ahead)
[2018/04/29 19:13:34.168047, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.168130, 6, pid=22094, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2324(lp_file_list_changed)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Apr 29 18:26:16 2018
[2018/04/29 19:13:34.168188, 3, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
Selected protocol SMB3_11
[2018/04/29 19:13:34.168220, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:537(make_auth3_context_for_ntlm)
Making default auth method list for server role = 'standalone server', encrypt passwords = yes
[2018/04/29 19:13:34.168253, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match guest
[2018/04/29 19:13:34.168283, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method guest has a valid init
[2018/04/29 19:13:34.168311, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match sam_ignoredomain
[2018/04/29 19:13:34.168339, 5, pid=22094, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method sam_ignoredomain has a valid init
[2018/04/29 19:13:34.168442, 5, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC mechanism spnego
[2018/04/29 19:13:34.168498, 5, pid=22094, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC submechanism ntlmssp
[2018/04/29 19:13:34.168600, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:3062(smbd_smb2_request_done_ex)
smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[64] dyn[yes:140] at ../source3/smbd/smb2_negprot.c:660
[2018/04/29 19:13:34.168642, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2_credits] ../source3/smbd/smb2_server.c:936(smb2_set_operation_credit)
smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 512/512, total granted/max/low/range 1/8192/2/1
[2018/04/29 19:13:34.169351, 10, pid=22094, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:1093(smbd_server_connection_terminate_ex)
smbd_server_connection_terminate_ex: conn[ipv4:192.168.88.250:52803] reason[NT_STATUS_CONNECTION_RESET] at ../source3/smbd/smb2_server.c:3986
[2018/04/29 19:13:34.169422, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.169462, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.169488, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.169550, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.169587, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.169625, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.169663, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.169727, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.169763, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.169796, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.169823, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.169865, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.169900, 4, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.169928, 5, pid=22094, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.169954, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.169996, 5, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.170066, 10, pid=22094, effective(0, 0), real(0, 0)] ../source3/lib/messages_dgm_ref.c:157(msg_dgm_ref_destructor)
msg_dgm_ref_destructor: refs=(nil)
[2018/04/29 19:13:34.170262, 3, pid=22094, effective(0, 0), real(0, 0)] ../source3/smbd/server_exit.c:244(exit_server_common)
Server exit (NT_STATUS_CONNECTION_RESET)
[2018/04/29 19:13:34.174521, 6, pid=22095, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2324(lp_file_list_changed)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Apr 29 18:26:16 2018
[2018/04/29 19:13:34.174617, 3, pid=22095, effective(0, 0), real(0, 0), class=locking] ../source3/smbd/oplock.c:1340(init_oplocks)
init_oplocks: initializing messages.
[2018/04/29 19:13:34.174656, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 774 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.174710, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 778 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.174744, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 770 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.174772, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 787 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.174799, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 779 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.174827, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 15 - private_data=(nil)
[2018/04/29 19:13:34.174854, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:470(messaging_register)
Overriding messaging pointer for type 15 - private_data=(nil)
[2018/04/29 19:13:34.174882, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 16 - private_data=(nil)
[2018/04/29 19:13:34.174910, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 16 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.174939, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 33 - private_data=0x55dc23bc9370
[2018/04/29 19:13:34.174967, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 33 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.174994, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 790 - private_data=(nil)
[2018/04/29 19:13:34.175022, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 790 - private_data=0x55dc23bef7d0
[2018/04/29 19:13:34.175062, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 791 - private_data=(nil)
[2018/04/29 19:13:34.175092, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:502(messaging_deregister)
Deregistering messaging pointer for type 1 - private_data=(nil)
[2018/04/29 19:13:34.175125, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:455(messaging_register)
Registering messaging pointer for type 1 - private_data=(nil)
[2018/04/29 19:13:34.175157, 10, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
event_add_idle: idle_evt(keepalive) 0x55dc23bf7160
[2018/04/29 19:13:34.175187, 10, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
event_add_idle: idle_evt(deadtime) 0x55dc23bf7330
[2018/04/29 19:13:34.175218, 10, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
event_add_idle: idle_evt(housekeeping) 0x55dc23bf7500
[2018/04/29 19:13:34.175273, 10, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:248(read_smb_length_return_keepalive)
got smb length of 174
[2018/04/29 19:13:34.175317, 6, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1957(process_smb)
got message type 0x0 of len 0xae
[2018/04/29 19:13:34.175351, 3, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1959(process_smb)
Transaction 0 of length 178 (0 toread)
[2018/04/29 19:13:34.175380, 10, pid=22095, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:3537(smbd_smb2_process_negprot)
smbd_smb2_first_negprot: packet length 174
[2018/04/29 19:13:34.175440, 10, pid=22095, effective(0, 0), real(0, 0), class=smb2_credits] ../source3/smbd/smb2_server.c:678(smb2_validate_sequence_number)
smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 0 (position 0) from bitmap
[2018/04/29 19:13:34.175490, 10, pid=22095, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:2327(smbd_smb2_request_dispatch)
smbd_smb2_request_dispatch: opcode[SMB2_OP_NEGPROT] mid = 0
[2018/04/29 19:13:34.175543, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.175589, 5, pid=22095, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.175631, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.175704, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.175748, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/04/29 19:13:34.175779, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/04/29 19:13:34.175806, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/04/29 19:13:34.175833, 5, pid=22095, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.175859, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.175940, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1398(ra_parser)
ra_parser: Got remote arch [Vista] from cache
[2018/04/29 19:13:34.175989, 10, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1349(set_remote_arch)
set_remote_arch: Client arch is 'Vista'
[2018/04/29 19:13:34.176028, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.176100, 6, pid=22095, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2324(lp_file_list_changed)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Apr 29 18:26:16 2018
[2018/04/29 19:13:34.176160, 3, pid=22095, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
Selected protocol SMB3_11
[2018/04/29 19:13:34.176202, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:537(make_auth3_context_for_ntlm)
Making default auth method list for server role = 'standalone server', encrypt passwords = yes
[2018/04/29 19:13:34.176236, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend trustdomain
[2018/04/29 19:13:34.176271, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'trustdomain'
[2018/04/29 19:13:34.176300, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend ntdomain
[2018/04/29 19:13:34.176328, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'ntdomain'
[2018/04/29 19:13:34.176354, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend guest
[2018/04/29 19:13:34.176394, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'guest'
[2018/04/29 19:13:34.176422, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam
[2018/04/29 19:13:34.176449, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam'
[2018/04/29 19:13:34.176476, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam_ignoredomain
[2018/04/29 19:13:34.176503, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam_ignoredomain'
[2018/04/29 19:13:34.176530, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam_netlogon3
[2018/04/29 19:13:34.176557, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam_netlogon3'
[2018/04/29 19:13:34.176584, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend winbind
[2018/04/29 19:13:34.176611, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'winbind'
[2018/04/29 19:13:34.176638, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend unix
[2018/04/29 19:13:34.176665, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'unix'
[2018/04/29 19:13:34.176692, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend samba4
[2018/04/29 19:13:34.176719, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'samba4'
[2018/04/29 19:13:34.176746, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match guest
[2018/04/29 19:13:34.176784, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method guest has a valid init
[2018/04/29 19:13:34.176833, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match sam_ignoredomain
[2018/04/29 19:13:34.176862, 5, pid=22095, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method sam_ignoredomain has a valid init
[2018/04/29 19:13:34.180555, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_spnego' registered
[2018/04/29 19:13:34.180599, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_krb5' registered
[2018/04/29 19:13:34.180632, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_krb5_sasl' registered
[2018/04/29 19:13:34.180663, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'spnego' registered
[2018/04/29 19:13:34.180697, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'schannel' registered
[2018/04/29 19:13:34.180721, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'naclrpc_as_system' registered
[2018/04/29 19:13:34.180759, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'sasl-EXTERNAL' registered
[2018/04/29 19:13:34.180795, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'ntlmssp' registered
[2018/04/29 19:13:34.180825, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'ntlmssp_resume_ccache' registered
[2018/04/29 19:13:34.180868, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'http_basic' registered
[2018/04/29 19:13:34.180908, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'http_ntlm' registered
[2018/04/29 19:13:34.180942, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'krb5' registered
[2018/04/29 19:13:34.180977, 3, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'fake_gssapi_krb5' registered
[2018/04/29 19:13:34.181076, 5, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC mechanism spnego
[2018/04/29 19:13:34.181134, 5, pid=22095, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC submechanism ntlmssp
[2018/04/29 19:13:34.181227, 10, pid=22095, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:3062(smbd_smb2_request_done_ex)
smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[64] dyn[yes:140] at ../source3/smbd/smb2_negprot.c:660
[2018/04/29 19:13:34.181284, 10, pid=22095, effective(0, 0), real(0, 0), class=smb2_credits] ../source3/smbd/smb2_server.c:936(smb2_set_operation_credit)
smb2_set_operation_credit: smb2_set_operation_credit: requested 31, charge 1, granted 1, current possible/max 512/512, total granted/max/low/range 1/8192/1/1
[2018/04/29 19:13:34.181888, 10, pid=22095, effective(0, 0), real(0, 0), class=smb2] ../source3/smbd/smb2_server.c:1093(smbd_server_connection_terminate_ex)
smbd_server_connection_terminate_ex: conn[ipv4:192.168.88.250:52805] reason[NT_STATUS_CONNECTION_RESET] at ../source3/smbd/smb2_server.c:3986
[2018/04/29 19:13:34.181954, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.181980, 5, pid=22095, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.182013, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.182057, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.182087, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.182110, 5, pid=22095, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.182135, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.182173, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.182202, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.182224, 5, pid=22095, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.182306, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.182394, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.182438, 4, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/04/29 19:13:34.182469, 5, pid=22095, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/04/29 19:13:34.182491, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:810(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/04/29 19:13:34.182537, 5, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/04/29 19:13:34.182615, 10, pid=22095, effective(0, 0), real(0, 0)] ../source3/lib/messages_dgm_ref.c:157(msg_dgm_ref_destructor)
msg_dgm_ref_destructor: refs=(nil)
[2018/04/29 19:13:34.182810, 3, pid=22095, effective(0, 0), real(0, 0)] ../source3/smbd/server_exit.c:244(exit_server_common)
Server exit (NT_STATUS_CONNECTION_RESET)
# cat smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
#### Networking ####
# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0
# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Cap the size of the individual log files (in KiB).
max log size = 1000
# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
# syslog only = no
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
log level = 10
####### Authentication #######
# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
server role = standalone server
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam
obey pam restrictions = yes
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes
# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user
########## Domains ###########
#
# The following settings only takes effect if 'server role = primary
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set
#
# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
# logon path = \\%N\%U\profile
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U
# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd
# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a "machines" group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup --force-badname %g
############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m
# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash
# Setup usershare options to enable non-root users to share folders
# with the net usershare command.
# Maximum number of usershare. 0 (default) means that usershare is disabled.
; usershare max shares = 100
# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
usershare allow guests = yes
# server signing = mandatory
#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
; valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin
[storage]
comment = Shared Storage
path = /mnt/storage
browseable = yes
read only = no
guest ok = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment