[Samba] accessing foreign AD users to NT domain

Piviul piviul at riminilug.it
Wed Aug 26 08:17:27 UTC 2020


Marco Gaiarin via samba ha scritto il 25/08/20 alle 18:53:
> [...]
>> The only other thing I can think of at the moment is to remove
>> 'winbind use default domain = yes'
> 
> It was a try, i think in NT mode don't bother at all.
on my samba server with 'winbind use default domain" set to yes 
dominioNT\ is removed from users and groups names...

> Paolo, if possible:
> 
> a) your client OS is Win10 or Win7? I don't remember if you have
>   specified it.
> If possible, use Win7. If not, make sure ti have smb1 enabled, but also
> this:
>   - https://support.microsoft.com/en-gb/help/4046019/guest-access-in-smb2-disabled-by-default-in-windows-10-and-windows-ser
but I don't use guest access and my win10 client have smb1 client 
enabled; any way I have no problem to use win7 and from now I'll use it.

> b) you have tried to mount shares using IP and not names? EG, try
>   please:
> 	net use g: \\1.2.3.4\share /persistent:yes
ok, says invalid password and then asks for a username doesn't matter if 
I refer to the server with his IP, name or FQDN...

> c) follow the hint by Louis, eg try to explicit the login in domainful
>   way:
> 	net use g: \\server.fqdn.tld\share /persistent:yes /user:NT4DOM\%username%
> 
>   (i think that this WILL HAVE to work!)
In effect Louis hint seems to works as expected doesn't matter if I 
refer to the server with his IP, name or FQDN.

> If possible, for every try enable log (samba and windows) and post result.
I attach the log file generated from the samba server with IP 
192.168.70.3 in log level 10 when from the win7 client 192.168.64.12 I 
run the command:
net use g: \\192.168.70.3\http /persistent:yes

Finally I can't send you windows logs because I don't know how to enable 
logs on it and I found no further logs after launching the command...

Piviul
-------------- next part --------------
[2020/08/26 09:53:02.412735,  6, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2223(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Aug 26 09:48:50 2020
  
[2020/08/26 09:53:02.412799,  3, pid=2553, effective(0, 0), real(0, 0), class=locking] ../source3/smbd/oplock.c:1328(init_oplocks)
  init_oplocks: initializing messages.
[2020/08/26 09:53:02.412816,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 774 - private_data=0x204b0f0
[2020/08/26 09:53:02.412832,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 778 - private_data=0x204b0f0
[2020/08/26 09:53:02.412848,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 770 - private_data=0x204b0f0
[2020/08/26 09:53:02.412864,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 787 - private_data=0x204b0f0
[2020/08/26 09:53:02.412880,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 779 - private_data=0x204b0f0
[2020/08/26 09:53:02.412895,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 15 - private_data=(nil)
[2020/08/26 09:53:02.412910,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:371(messaging_register)
  Overriding messaging pointer for type 15 - private_data=(nil)
[2020/08/26 09:53:02.412926,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:403(messaging_deregister)
  Deregistering messaging pointer for type 16 - private_data=(nil)
[2020/08/26 09:53:02.412942,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 16 - private_data=0x204b0f0
[2020/08/26 09:53:02.412957,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:403(messaging_deregister)
  Deregistering messaging pointer for type 33 - private_data=0x204aad8
[2020/08/26 09:53:02.412973,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 33 - private_data=0x204b0f0
[2020/08/26 09:53:02.412988,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:403(messaging_deregister)
  Deregistering messaging pointer for type 790 - private_data=(nil)
[2020/08/26 09:53:02.413003,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 790 - private_data=0x204b0f0
[2020/08/26 09:53:02.413019,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:403(messaging_deregister)
  Deregistering messaging pointer for type 791 - private_data=(nil)
[2020/08/26 09:53:02.413034,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:403(messaging_deregister)
  Deregistering messaging pointer for type 1 - private_data=(nil)
[2020/08/26 09:53:02.413050,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:356(messaging_register)
  Registering messaging pointer for type 1 - private_data=(nil)
[2020/08/26 09:53:02.413074, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
  event_add_idle: idle_evt(keepalive) 0x205ca08
[2020/08/26 09:53:02.413092, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
  event_add_idle: idle_evt(deadtime) 0x205ca68
[2020/08/26 09:53:02.413114, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:99(event_add_idle)
  event_add_idle: idle_evt(housekeeping) 0x205cac8
[2020/08/26 09:53:02.413148, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:248(read_smb_length_return_keepalive)
  got smb length of 155
[2020/08/26 09:53:02.413176,  6, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1956(process_smb)
  got message type 0x0 of len 0x9b
[2020/08/26 09:53:02.413193,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1958(process_smb)
  Transaction 0 of length 159 (0 toread)
[2020/08/26 09:53:02.413208,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util.c:171(show_msg)
[2020/08/26 09:53:02.413219,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util.c:181(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
[2020/08/26 09:53:02.413271, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/util/util.c:555(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.???. 
[2020/08/26 09:53:02.413431,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/process.c:1538(switch_message)
  switch message SMBnegprot (pid 2553) conn 0x0
[2020/08/26 09:53:02.413460,  4, pid=2553, 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
[2020/08/26 09:53:02.413481,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.413526,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.413568,  5, pid=2553, 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)
[2020/08/26 09:53:02.414369,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2020/08/26 09:53:02.414396,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [LANMAN1.0]
[2020/08/26 09:53:02.414414,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [Windows for Workgroups 3.1a]
[2020/08/26 09:53:02.414435,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [LM1.2X002]
[2020/08/26 09:53:02.414452,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [LANMAN2.1]
[2020/08/26 09:53:02.414468,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [NT LM 0.12]
[2020/08/26 09:53:02.414484,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [SMB 2.002]
[2020/08/26 09:53:02.414499,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:603(reply_negprot)
  Requested protocol [SMB 2.???]
[2020/08/26 09:53:02.414518, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1325(set_remote_arch)
  set_remote_arch: Client arch is 'UNKNOWN'
[2020/08/26 09:53:02.414551,  6, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2223(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Aug 26 09:48:50 2020
  
[2020/08/26 09:53:02.414585,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_check_lock_order)
  check lock order 2 for /var/run/samba/serverid.tdb
[2020/08/26 09:53:02.414608, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:<none> 2:/var/run/samba/serverid.tdb 3:<none>
[2020/08/26 09:53:02.414629, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key F909000000000000FFFF
[2020/08/26 09:53:02.414649, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x205f3e8
[2020/08/26 09:53:02.414670, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key F909000000000000FFFF
[2020/08/26 09:53:02.414688,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:127(dbwrap_lock_order_state_destructor)
  release lock order 2 for /var/run/samba/serverid.tdb
[2020/08/26 09:53:02.414703, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2020/08/26 09:53:02.414735,  6, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2223(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Aug 26 09:48:50 2020
  
[2020/08/26 09:53:02.414769, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3463(smbd_smb2_process_negprot)
  smbd_smb2_first_negprot: packet length 102
[2020/08/26 09:53:02.414809, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:660(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 0 (position 0) from bitmap
[2020/08/26 09:53:02.414828, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2257(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_NEGPROT] mid = 0
[2020/08/26 09:53:02.414846,  4, pid=2553, 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
[2020/08/26 09:53:02.414862,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.414876,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.414900,  5, pid=2553, 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)
[2020/08/26 09:53:02.414921, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1325(set_remote_arch)
  set_remote_arch: Client arch is 'Vista'
[2020/08/26 09:53:02.414949,  6, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2223(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Aug 26 09:48:50 2020
  
[2020/08/26 09:53:02.414982,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  Selected protocol SMB2_FF
[2020/08/26 09:53:02.414999,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:477(make_auth_context_subsystem)
  Making default auth method list for server role = 'domain member'
[2020/08/26 09:53:02.415019,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend trustdomain
[2020/08/26 09:53:02.415041,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'trustdomain'
[2020/08/26 09:53:02.415057,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend ntdomain
[2020/08/26 09:53:02.415072,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'ntdomain'
[2020/08/26 09:53:02.415088,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend guest
[2020/08/26 09:53:02.415109,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'guest'
[2020/08/26 09:53:02.415124,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend sam
[2020/08/26 09:53:02.415139,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'sam'
[2020/08/26 09:53:02.415154,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend sam_ignoredomain
[2020/08/26 09:53:02.415170,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'sam_ignoredomain'
[2020/08/26 09:53:02.415185,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend winbind
[2020/08/26 09:53:02.415200,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'winbind'
[2020/08/26 09:53:02.415215,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend unix
[2020/08/26 09:53:02.415230,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'unix'
[2020/08/26 09:53:02.415245,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:48(smb_register_auth)
  Attempting to register auth backend wbc
[2020/08/26 09:53:02.415261,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:60(smb_register_auth)
  Successfully added auth method 'wbc'
[2020/08/26 09:53:02.415276,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2020/08/26 09:53:02.415292,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2020/08/26 09:53:02.415307,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2020/08/26 09:53:02.415323,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2020/08/26 09:53:02.415339,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match winbind:ntdomain
[2020/08/26 09:53:02.415355,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match ntdomain
[2020/08/26 09:53:02.415371,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method ntdomain has a valid init
[2020/08/26 09:53:02.415386,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method winbind has a valid init
[2020/08/26 09:53:02.416904,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'gssapi_spnego' registered
[2020/08/26 09:53:02.416930,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'gssapi_krb5' registered
[2020/08/26 09:53:02.416947,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'gssapi_krb5_sasl' registered
[2020/08/26 09:53:02.416971,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'spnego' registered
[2020/08/26 09:53:02.416989,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'schannel' registered
[2020/08/26 09:53:02.417006,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'naclrpc_as_system' registered
[2020/08/26 09:53:02.417023,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'sasl-EXTERNAL' registered
[2020/08/26 09:53:02.417040,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'ntlmssp' registered
[2020/08/26 09:53:02.417056,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'ntlmssp_resume_ccache' registered
[2020/08/26 09:53:02.417073,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'http_basic' registered
[2020/08/26 09:53:02.417091,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'http_ntlm' registered
[2020/08/26 09:53:02.417108,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'krb5' registered
[2020/08/26 09:53:02.417124,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:908(gensec_register)
  GENSEC backend 'fake_gssapi_krb5' registered
[2020/08/26 09:53:02.417170,  5, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:681(gensec_start_mech)
  Starting GENSEC mechanism spnego
[2020/08/26 09:53:02.417204,  5, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:681(gensec_start_mech)
  Starting GENSEC submechanism ntlmssp
[2020/08/26 09:53:02.417250, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2988(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:702
[2020/08/26 09:53:02.417281, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:912(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
[2020/08/26 09:53:02.417333,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:744(reply_negprot)
  Selected protocol SMB 2.???
[2020/08/26 09:53:02.417349,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/negprot.c:746(reply_negprot)
  negprot index=7
[2020/08/26 09:53:02.418020, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3860(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2020/08/26 09:53:02.418050, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:660(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 1 (position 1) from bitmap
[2020/08/26 09:53:02.418076, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2257(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_NEGPROT] mid = 1
[2020/08/26 09:53:02.418100,  4, pid=2553, 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
[2020/08/26 09:53:02.418125,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.418147,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.418191,  5, pid=2553, 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)
[2020/08/26 09:53:02.418211,  4, pid=2553, 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
[2020/08/26 09:53:02.418234,  4, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/08/26 09:53:02.418249,  4, pid=2553, 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
[2020/08/26 09:53:02.418264,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.418278,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.418344, 10, pid=2553, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:326(gencache_set_data_blob)
  Adding cache entry with key=[RA/e4e8ac9f-e76e-11ea-a5b2-cd09affbc7a7] and timeout=[Thu Jan  1 01:00:00 AM 1970 CET] (-1598428382 seconds in the past)
[2020/08/26 09:53:02.418382, 10, pid=2553, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:326(gencache_set_data_blob)
  Adding cache entry with key=[RA/e4e8ac9f-e76e-11ea-a5b2-cd09affbc7a7] and timeout=[Wed Sep  2 09:53:02 AM 2020 CEST] (604800 seconds ahead)
[2020/08/26 09:53:02.418414,  4, pid=2553, 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
[2020/08/26 09:53:02.418449,  6, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2223(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Aug 26 09:48:50 2020
  
[2020/08/26 09:53:02.418483,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
  Selected protocol SMB2_10
[2020/08/26 09:53:02.418499,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:477(make_auth_context_subsystem)
  Making default auth method list for server role = 'domain member'
[2020/08/26 09:53:02.418518,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2020/08/26 09:53:02.418534,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2020/08/26 09:53:02.418550,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2020/08/26 09:53:02.418566,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2020/08/26 09:53:02.418582,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match winbind:ntdomain
[2020/08/26 09:53:02.418598,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match ntdomain
[2020/08/26 09:53:02.418613,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method ntdomain has a valid init
[2020/08/26 09:53:02.418629,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method winbind has a valid init
[2020/08/26 09:53:02.418663,  5, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:681(gensec_start_mech)
  Starting GENSEC mechanism spnego
[2020/08/26 09:53:02.418693,  5, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:681(gensec_start_mech)
  Starting GENSEC submechanism ntlmssp
[2020/08/26 09:53:02.418736, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2988(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:657
[2020/08/26 09:53:02.418764, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:912(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
[2020/08/26 09:53:02.420492, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3860(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2020/08/26 09:53:02.420519, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:660(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 2 (position 2) from bitmap
[2020/08/26 09:53:02.420544, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2257(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_SESSSETUP] mid = 2
[2020/08/26 09:53:02.420569,  4, pid=2553, 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
[2020/08/26 09:53:02.420593,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.420614,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.420650,  5, pid=2553, 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)
[2020/08/26 09:53:02.420681,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_check_lock_order)
  check lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.420697, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:/var/run/samba/smbXsrv_session_global.tdb 2:<none> 3:<none>
[2020/08/26 09:53:02.420717, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 0D54B3BE
[2020/08/26 09:53:02.420740, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x205e518
[2020/08/26 09:53:02.420807, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:943(smbXsrv_session_global_store)
[2020/08/26 09:53:02.420820, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:945(smbXsrv_session_global_store)
  smbXsrv_session_global_store: key '0D54B3BE' stored
[2020/08/26 09:53:02.420838,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_session_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_session_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_session_global0
                  db_rec                   : *
                  session_global_id        : 0x0d54b3be (223654846)
                  session_wire_id          : 0x000000000d54b3be (223654846)
                  creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                  expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                  auth_time                : NTTIME(0)
                  auth_session_info_seqnum : 0x00000000 (0)
                  auth_session_info        : NULL
                  connection_dialect       : 0x0210 (528)
                  signing_flags            : 0x00 (0)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  encryption_flags         : 0x00 (0)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  num_channels             : 0x00000001 (1)
                  channels: ARRAY(1)
                      channels: struct smbXsrv_channel_global0
                          server_id: struct server_id
                              pid                      : 0x00000000000009f9 (2553)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                          local_address            : 'ipv4:192.168.70.3:445'
                          remote_address           : 'ipv4:192.168.64.12:54616'
                          remote_name              : '192.168.64.12'
                          auth_session_info_seqnum : 0x00000000 (0)
                          connection               : *
                          encryption_cipher        : 0x0000 (0)
[2020/08/26 09:53:02.421131,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:127(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.421148, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2020/08/26 09:53:02.421168, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 0D54B3BE
[2020/08/26 09:53:02.421186, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1310(smbXsrv_session_create)
[2020/08/26 09:53:02.421197, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1318(smbXsrv_session_create)
  smbXsrv_session_create: global_id (0x0d54b3be) stored
[2020/08/26 09:53:02.421212,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &session_blob: struct smbXsrv_sessionB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_sessionU(case 0)
          info0                    : *
              info0: struct smbXsrv_session
                  table                    : *
                  db_rec                   : NULL
                  client                   : *
                  local_id                 : 0x0d54b3be (223654846)
                  global                   : *
                      global: struct smbXsrv_session_global0
                          db_rec                   : NULL
                          session_global_id        : 0x0d54b3be (223654846)
                          session_wire_id          : 0x000000000d54b3be (223654846)
                          creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                          expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                          auth_time                : NTTIME(0)
                          auth_session_info_seqnum : 0x00000000 (0)
                          auth_session_info        : NULL
                          connection_dialect       : 0x0210 (528)
                          signing_flags            : 0x00 (0)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                          encryption_flags         : 0x00 (0)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          num_channels             : 0x00000001 (1)
                          channels: ARRAY(1)
                              channels: struct smbXsrv_channel_global0
                                  server_id: struct server_id
                                      pid                      : 0x00000000000009f9 (2553)
                                      task_id                  : 0x00000000 (0)
                                      vnn                      : 0xffffffff (4294967295)
                                      unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                                  local_address            : 'ipv4:192.168.70.3:445'
                                  remote_address           : 'ipv4:192.168.64.12:54616'
                                  remote_name              : '192.168.64.12'
                                  auth_session_info_seqnum : 0x00000000 (0)
                                  connection               : *
                                  encryption_cipher        : 0x0000 (0)
                  status                   : NT_STATUS_MORE_PROCESSING_REQUIRED
                  idle_time                : Wed Aug 26 09:53:02 AM 2020 CEST
                  nonce_high_random        : 0x0000000000000000 (0)
                  nonce_high_max           : 0x0000000000000000 (0)
                  nonce_high               : 0x0000000000000000 (0)
                  nonce_low                : 0x0000000000000000 (0)
                  compat                   : NULL
                  tcon_table               : *
                  pending_auth             : NULL
[2020/08/26 09:53:02.421624,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:477(make_auth_context_subsystem)
  Making default auth method list for server role = 'domain member'
[2020/08/26 09:53:02.421644,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2020/08/26 09:53:02.421661,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2020/08/26 09:53:02.421677,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2020/08/26 09:53:02.421693,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2020/08/26 09:53:02.421709,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match winbind:ntdomain
[2020/08/26 09:53:02.421725,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:378(load_auth_module)
  load_auth_module: Attempting to find an auth method to match ntdomain
[2020/08/26 09:53:02.421741,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method ntdomain has a valid init
[2020/08/26 09:53:02.421756,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:403(load_auth_module)
  load_auth_module: auth method winbind has a valid init
[2020/08/26 09:53:02.421793,  5, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:681(gensec_start_mech)
  Starting GENSEC mechanism spnego
[2020/08/26 09:53:02.421812,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_check_lock_order)
  check lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.421828, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:/var/run/samba/smbXsrv_session_global.tdb 2:<none> 3:<none>
[2020/08/26 09:53:02.421849, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 0D54B3BE
[2020/08/26 09:53:02.421868, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x206b5b8
[2020/08/26 09:53:02.421900, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:943(smbXsrv_session_global_store)
[2020/08/26 09:53:02.421912, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:945(smbXsrv_session_global_store)
  smbXsrv_session_global_store: key '0D54B3BE' stored
[2020/08/26 09:53:02.421929,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_session_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000002 (2)
          info                     : union smbXsrv_session_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_session_global0
                  db_rec                   : *
                  session_global_id        : 0x0d54b3be (223654846)
                  session_wire_id          : 0x000000000d54b3be (223654846)
                  creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                  expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                  auth_time                : NTTIME(0)
                  auth_session_info_seqnum : 0x00000000 (0)
                  auth_session_info        : NULL
                  connection_dialect       : 0x0210 (528)
                  signing_flags            : 0x00 (0)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  encryption_flags         : 0x00 (0)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  num_channels             : 0x00000001 (1)
                  channels: ARRAY(1)
                      channels: struct smbXsrv_channel_global0
                          server_id: struct server_id
                              pid                      : 0x00000000000009f9 (2553)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                          local_address            : 'ipv4:192.168.70.3:445'
                          remote_address           : 'ipv4:192.168.64.12:54616'
                          remote_name              : '192.168.64.12'
                          auth_session_info_seqnum : 0x00000000 (0)
                          connection               : *
                          encryption_cipher        : 0x0000 (0)
[2020/08/26 09:53:02.422198,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:127(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.422215, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2020/08/26 09:53:02.422234, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 0D54B3BE
[2020/08/26 09:53:02.422252, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1405(smbXsrv_session_update)
[2020/08/26 09:53:02.422263, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1413(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0x0d54b3be) stored
[2020/08/26 09:53:02.422278,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &session_blob: struct smbXsrv_sessionB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_sessionU(case 0)
          info0                    : *
              info0: struct smbXsrv_session
                  table                    : *
                  db_rec                   : NULL
                  client                   : *
                  local_id                 : 0x0d54b3be (223654846)
                  global                   : *
                      global: struct smbXsrv_session_global0
                          db_rec                   : NULL
                          session_global_id        : 0x0d54b3be (223654846)
                          session_wire_id          : 0x000000000d54b3be (223654846)
                          creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                          expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                          auth_time                : NTTIME(0)
                          auth_session_info_seqnum : 0x00000000 (0)
                          auth_session_info        : NULL
                          connection_dialect       : 0x0210 (528)
                          signing_flags            : 0x00 (0)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                          encryption_flags         : 0x00 (0)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          num_channels             : 0x00000001 (1)
                          channels: ARRAY(1)
                              channels: struct smbXsrv_channel_global0
                                  server_id: struct server_id
                                      pid                      : 0x00000000000009f9 (2553)
                                      task_id                  : 0x00000000 (0)
                                      vnn                      : 0xffffffff (4294967295)
                                      unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                                  local_address            : 'ipv4:192.168.70.3:445'
                                  remote_address           : 'ipv4:192.168.64.12:54616'
                                  remote_name              : '192.168.64.12'
                                  auth_session_info_seqnum : 0x00000000 (0)
                                  connection               : *
                                  encryption_cipher        : 0x0000 (0)
                  status                   : NT_STATUS_MORE_PROCESSING_REQUIRED
                  idle_time                : Wed Aug 26 09:53:02 AM 2020 CEST
                  nonce_high_random        : 0x0000000000000000 (0)
                  nonce_high_max           : 0x0000000000000000 (0)
                  nonce_high               : 0x0000000000000000 (0)
                  nonce_low                : 0x0000000000000000 (0)
                  compat                   : NULL
                  tcon_table               : *
                  pending_auth             : *
                      pending_auth: struct smbXsrv_session_auth0
                          prev                     : *
                          next                     : NULL
                          session                  : *
                          connection               : *
                          gensec                   : *
                          preauth                  : NULL
                          in_flags                 : 0x00 (0)
                          in_security_mode         : 0x01 (1)
                          creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                          idle_time                : Wed Aug 26 09:53:02 AM 2020 CEST
[2020/08/26 09:53:02.422747,  4, pid=2553, 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
[2020/08/26 09:53:02.422769,  4, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/08/26 09:53:02.422785,  4, pid=2553, 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
[2020/08/26 09:53:02.422801,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.422815,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.422843,  4, pid=2553, 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
  smbd_smb2_request_pending_queue: req->current_idx = 1
  	req->in.vector[0].iov_len = 0
  	req->in.vector[1].iov_len = 0
  	req->in.vector[2].iov_len = 64
  	req->in.vector[3].iov_len = 24
  	req->in.vector[4].iov_len = 74
  	req->out.vector[0].iov_len = 4
  	req->out.vector[1].iov_len = 0
  	req->out.vector[2].iov_len = 64
  	req->out.vector[3].iov_len = 8
  	req->out.vector[4].iov_len = 0
[2020/08/26 09:53:02.422938,  5, pid=2553, effective(0, 0), real(0, 0)] ../auth/gensec/gensec_start.c:681(gensec_start_mech)
  Starting GENSEC submechanism ntlmssp
[2020/08/26 09:53:02.422964,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/ntlmssp/ntlmssp_util.c:69(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088297
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_NEGOTIATE_OEM
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_LM_KEY
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2020/08/26 09:53:02.423034,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       negotiate: struct NEGOTIATE_MESSAGE
          Signature                : 'NTLMSSP'
          MessageType              : NtLmNegotiate (1)
          NegotiateFlags           : 0xe2088297 (3792208535)
                 1: NTLMSSP_NEGOTIATE_UNICODE
                 1: NTLMSSP_NEGOTIATE_OEM    
                 1: NTLMSSP_REQUEST_TARGET   
                 1: NTLMSSP_NEGOTIATE_SIGN   
                 0: NTLMSSP_NEGOTIATE_SEAL   
                 0: NTLMSSP_NEGOTIATE_DATAGRAM
                 1: NTLMSSP_NEGOTIATE_LM_KEY 
                 0: NTLMSSP_NEGOTIATE_NETWARE
                 1: NTLMSSP_NEGOTIATE_NTLM   
                 0: NTLMSSP_NEGOTIATE_NT_ONLY
                 0: NTLMSSP_ANONYMOUS        
                 0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
                 0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
                 0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
                 1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
                 0: NTLMSSP_TARGET_TYPE_DOMAIN
                 0: NTLMSSP_TARGET_TYPE_SERVER
                 0: NTLMSSP_TARGET_TYPE_SHARE
                 1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
                 0: NTLMSSP_NEGOTIATE_IDENTIFY
                 0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
                 0: NTLMSSP_NEGOTIATE_TARGET_INFO
                 1: NTLMSSP_NEGOTIATE_VERSION
                 1: NTLMSSP_NEGOTIATE_128    
                 1: NTLMSSP_NEGOTIATE_KEY_EXCH
                 1: NTLMSSP_NEGOTIATE_56     
          DomainNameLen            : 0x0000 (0)
          DomainNameMaxLen         : 0x0000 (0)
          DomainName               : NULL
          WorkstationLen           : 0x0000 (0)
          WorkstationMaxLen        : 0x0000 (0)
          Workstation              : NULL
          Version: struct ntlmssp_VERSION
              ProductMajorVersion      : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (6)
              ProductMinorVersion      : NTLMSSP_WINDOWS_MINOR_VERSION_1 (1)
              ProductBuild             : 0x1db1 (7601)
              Reserved: ARRAY(3)
                  [0]                      : 0x00 (0)
                  [1]                      : 0x00 (0)
                  [2]                      : 0x00 (0)
              NTLMRevisionCurrent      : NTLMSSP_REVISION_W2K3 (15)
[2020/08/26 09:53:02.423389,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       challenge: struct CHALLENGE_MESSAGE
          Signature                : 'NTLMSSP'
          MessageType              : NtLmChallenge (0x2)
          TargetNameLen            : 0x0014 (20)
          TargetNameMaxLen         : 0x0014 (20)
          TargetName               : *
              TargetName               : 'DOMINIOCSA'
          NegotiateFlags           : 0xe2898215 (3800662549)
                 1: NTLMSSP_NEGOTIATE_UNICODE
                 0: NTLMSSP_NEGOTIATE_OEM    
                 1: NTLMSSP_REQUEST_TARGET   
                 1: NTLMSSP_NEGOTIATE_SIGN   
                 0: NTLMSSP_NEGOTIATE_SEAL   
                 0: NTLMSSP_NEGOTIATE_DATAGRAM
                 0: NTLMSSP_NEGOTIATE_LM_KEY 
                 0: NTLMSSP_NEGOTIATE_NETWARE
                 1: NTLMSSP_NEGOTIATE_NTLM   
                 0: NTLMSSP_NEGOTIATE_NT_ONLY
                 0: NTLMSSP_ANONYMOUS        
                 0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
                 0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
                 0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
                 1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
                 1: NTLMSSP_TARGET_TYPE_DOMAIN
                 0: NTLMSSP_TARGET_TYPE_SERVER
                 0: NTLMSSP_TARGET_TYPE_SHARE
                 1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
                 0: NTLMSSP_NEGOTIATE_IDENTIFY
                 0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
                 1: NTLMSSP_NEGOTIATE_TARGET_INFO
                 1: NTLMSSP_NEGOTIATE_VERSION
                 1: NTLMSSP_NEGOTIATE_128    
                 1: NTLMSSP_NEGOTIATE_KEY_EXCH
                 1: NTLMSSP_NEGOTIATE_56     
          ServerChallenge          : be85b508e7defc17
          Reserved                 : 0000000000000000
          TargetInfoLen            : 0x0082 (130)
          TargetInfoMaxLen         : 0x0082 (130)
          TargetInfo               : *
              TargetInfo: struct AV_PAIR_LIST
                  count                    : 0x00000006 (6)
                  pair: ARRAY(6)
                      pair: struct AV_PAIR
                          AvId                     : MsvAvNbDomainName (0x2)
                          AvLen                    : 0x0014 (20)
                          Value                    : union ntlmssp_AvValue(case 0x2)
                          AvNbDomainName           : 'DOMINIOCSA'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvNbComputerName (0x1)
                          AvLen                    : 0x0008 (8)
                          Value                    : union ntlmssp_AvValue(case 0x1)
                          AvNbComputerName         : 'ZIZI'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvDnsDomainName (0x4)
                          AvLen                    : 0x001e (30)
                          Value                    : union ntlmssp_AvValue(case 0x4)
                          AvDnsDomainName          : 'csaricerche.com'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvDnsComputerName (0x3)
                          AvLen                    : 0x0028 (40)
                          Value                    : union ntlmssp_AvValue(case 0x3)
                          AvDnsComputerName        : 'zizi.csaricerche.com'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvTimestamp (0x7)
                          AvLen                    : 0x0008 (8)
                          Value                    : union ntlmssp_AvValue(case 0x7)
                          AvTimestamp              : Wed Aug 26 09:53:02 AM 2020 CEST
                      pair: struct AV_PAIR
                          AvId                     : MsvAvEOL (0x0)
                          AvLen                    : 0x0000 (0)
                          Value                    : union ntlmssp_AvValue(case 0x0)
          Version: struct ntlmssp_VERSION
              ProductMajorVersion      : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (0x6)
              ProductMinorVersion      : NTLMSSP_WINDOWS_MINOR_VERSION_1 (0x1)
              ProductBuild             : 0x0000 (0)
              Reserved                 : 000000
              NTLMRevisionCurrent      : NTLMSSP_REVISION_W2K3 (0xF)
[2020/08/26 09:53:02.423904,  4, pid=2553, 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
[2020/08/26 09:53:02.423922,  4, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/08/26 09:53:02.423938,  4, pid=2553, 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
[2020/08/26 09:53:02.423953,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.423968,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.423995,  4, pid=2553, 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
[2020/08/26 09:53:02.424014, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2988(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_MORE_PROCESSING_REQUIRED] body[8] dyn[yes:237] at ../source3/smbd/smb2_sesssetup.c:171
[2020/08/26 09:53:02.424033, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:912(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/3/1
[2020/08/26 09:53:02.425236, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3860(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2020/08/26 09:53:02.425264, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:660(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 3 (position 3) from bitmap
[2020/08/26 09:53:02.425289, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2257(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_SESSSETUP] mid = 3
[2020/08/26 09:53:02.425315,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_check_lock_order)
  check lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.425340, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:/var/run/samba/smbXsrv_session_global.tdb 2:<none> 3:<none>
[2020/08/26 09:53:02.425369, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 0D54B3BE
[2020/08/26 09:53:02.425405, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x205e248
[2020/08/26 09:53:02.425431, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:943(smbXsrv_session_global_store)
[2020/08/26 09:53:02.425443, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:945(smbXsrv_session_global_store)
  smbXsrv_session_global_store: key '0D54B3BE' stored
[2020/08/26 09:53:02.425460,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_session_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000003 (3)
          info                     : union smbXsrv_session_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_session_global0
                  db_rec                   : *
                  session_global_id        : 0x0d54b3be (223654846)
                  session_wire_id          : 0x000000000d54b3be (223654846)
                  creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                  expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                  auth_time                : NTTIME(0)
                  auth_session_info_seqnum : 0x00000000 (0)
                  auth_session_info        : NULL
                  connection_dialect       : 0x0210 (528)
                  signing_flags            : 0x04 (4)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  encryption_flags         : 0x08 (8)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  num_channels             : 0x00000001 (1)
                  channels: ARRAY(1)
                      channels: struct smbXsrv_channel_global0
                          server_id: struct server_id
                              pid                      : 0x00000000000009f9 (2553)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                          local_address            : 'ipv4:192.168.70.3:445'
                          remote_address           : 'ipv4:192.168.64.12:54616'
                          remote_name              : '192.168.64.12'
                          auth_session_info_seqnum : 0x00000000 (0)
                          connection               : *
                          encryption_cipher        : 0x0000 (0)
[2020/08/26 09:53:02.425756,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:127(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.425773, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2020/08/26 09:53:02.425792, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 0D54B3BE
[2020/08/26 09:53:02.425810, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1405(smbXsrv_session_update)
[2020/08/26 09:53:02.425821, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1413(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0x0d54b3be) stored
[2020/08/26 09:53:02.425836,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &session_blob: struct smbXsrv_sessionB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_sessionU(case 0)
          info0                    : *
              info0: struct smbXsrv_session
                  table                    : *
                  db_rec                   : NULL
                  client                   : *
                  local_id                 : 0x0d54b3be (223654846)
                  global                   : *
                      global: struct smbXsrv_session_global0
                          db_rec                   : NULL
                          session_global_id        : 0x0d54b3be (223654846)
                          session_wire_id          : 0x000000000d54b3be (223654846)
                          creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                          expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                          auth_time                : NTTIME(0)
                          auth_session_info_seqnum : 0x00000000 (0)
                          auth_session_info        : NULL
                          connection_dialect       : 0x0210 (528)
                          signing_flags            : 0x04 (4)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                          encryption_flags         : 0x08 (8)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          num_channels             : 0x00000001 (1)
                          channels: ARRAY(1)
                              channels: struct smbXsrv_channel_global0
                                  server_id: struct server_id
                                      pid                      : 0x00000000000009f9 (2553)
                                      task_id                  : 0x00000000 (0)
                                      vnn                      : 0xffffffff (4294967295)
                                      unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                                  local_address            : 'ipv4:192.168.70.3:445'
                                  remote_address           : 'ipv4:192.168.64.12:54616'
                                  remote_name              : '192.168.64.12'
                                  auth_session_info_seqnum : 0x00000000 (0)
                                  connection               : *
                                  encryption_cipher        : 0x0000 (0)
                  status                   : NT_STATUS_MORE_PROCESSING_REQUIRED
                  idle_time                : Wed Aug 26 09:53:02 AM 2020 CEST
                  nonce_high_random        : 0x0000000000000000 (0)
                  nonce_high_max           : 0x0000000000000000 (0)
                  nonce_high               : 0x0000000000000000 (0)
                  nonce_low                : 0x0000000000000000 (0)
                  compat                   : NULL
                  tcon_table               : *
                  pending_auth             : *
                      pending_auth: struct smbXsrv_session_auth0
                          prev                     : *
                          next                     : NULL
                          session                  : *
                          connection               : *
                          gensec                   : *
                          preauth                  : NULL
                          in_flags                 : 0x00 (0)
                          in_security_mode         : 0x01 (1)
                          creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                          idle_time                : Wed Aug 26 09:53:02 AM 2020 CEST
[2020/08/26 09:53:02.426300,  4, pid=2553, 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
[2020/08/26 09:53:02.426316,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.426331,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.426354,  5, pid=2553, 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)
[2020/08/26 09:53:02.426373,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:159(dbwrap_check_lock_order)
  check lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.426395, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:/var/run/samba/smbXsrv_session_global.tdb 2:<none> 3:<none>
[2020/08/26 09:53:02.426415, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 0D54B3BE
[2020/08/26 09:53:02.426434, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x206ce60
[2020/08/26 09:53:02.426462, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:943(smbXsrv_session_global_store)
[2020/08/26 09:53:02.426474, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:945(smbXsrv_session_global_store)
  smbXsrv_session_global_store: key '0D54B3BE' stored
[2020/08/26 09:53:02.426490,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_session_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000004 (4)
          info                     : union smbXsrv_session_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_session_global0
                  db_rec                   : *
                  session_global_id        : 0x0d54b3be (223654846)
                  session_wire_id          : 0x000000000d54b3be (223654846)
                  creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                  expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                  auth_time                : NTTIME(0)
                  auth_session_info_seqnum : 0x00000000 (0)
                  auth_session_info        : NULL
                  connection_dialect       : 0x0210 (528)
                  signing_flags            : 0x04 (4)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  encryption_flags         : 0x08 (8)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  num_channels             : 0x00000001 (1)
                  channels: ARRAY(1)
                      channels: struct smbXsrv_channel_global0
                          server_id: struct server_id
                              pid                      : 0x00000000000009f9 (2553)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                          local_address            : 'ipv4:192.168.70.3:445'
                          remote_address           : 'ipv4:192.168.64.12:54616'
                          remote_name              : '192.168.64.12'
                          auth_session_info_seqnum : 0x00000000 (0)
                          connection               : *
                          encryption_cipher        : 0x0000 (0)
[2020/08/26 09:53:02.426755,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:127(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/run/samba/smbXsrv_session_global.tdb
[2020/08/26 09:53:02.426772, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:114(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2020/08/26 09:53:02.426791, 10, pid=2553, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 0D54B3BE
[2020/08/26 09:53:02.426809, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1405(smbXsrv_session_update)
[2020/08/26 09:53:02.426820, 10, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1413(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0x0d54b3be) stored
[2020/08/26 09:53:02.426841,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &session_blob: struct smbXsrv_sessionB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_sessionU(case 0)
          info0                    : *
              info0: struct smbXsrv_session
                  table                    : *
                  db_rec                   : NULL
                  client                   : *
                  local_id                 : 0x0d54b3be (223654846)
                  global                   : *
                      global: struct smbXsrv_session_global0
                          db_rec                   : NULL
                          session_global_id        : 0x0d54b3be (223654846)
                          session_wire_id          : 0x000000000d54b3be (223654846)
                          creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                          expiration_time          : Thu Jan  1 01:00:00 AM 1970 CET
                          auth_time                : NTTIME(0)
                          auth_session_info_seqnum : 0x00000000 (0)
                          auth_session_info        : NULL
                          connection_dialect       : 0x0210 (528)
                          signing_flags            : 0x04 (4)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                          encryption_flags         : 0x08 (8)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          num_channels             : 0x00000001 (1)
                          channels: ARRAY(1)
                              channels: struct smbXsrv_channel_global0
                                  server_id: struct server_id
                                      pid                      : 0x00000000000009f9 (2553)
                                      task_id                  : 0x00000000 (0)
                                      vnn                      : 0xffffffff (4294967295)
                                      unique_id                : 0x0cbc2ebe87f71028 (917659819936518184)
                                  local_address            : 'ipv4:192.168.70.3:445'
                                  remote_address           : 'ipv4:192.168.64.12:54616'
                                  remote_name              : '192.168.64.12'
                                  auth_session_info_seqnum : 0x00000000 (0)
                                  connection               : *
                                  encryption_cipher        : 0x0000 (0)
                  status                   : NT_STATUS_MORE_PROCESSING_REQUIRED
                  idle_time                : Wed Aug 26 09:53:02 AM 2020 CEST
                  nonce_high_random        : 0x0000000000000000 (0)
                  nonce_high_max           : 0x0000000000000000 (0)
                  nonce_high               : 0x0000000000000000 (0)
                  nonce_low                : 0x0000000000000000 (0)
                  compat                   : NULL
                  tcon_table               : *
                  pending_auth             : *
                      pending_auth: struct smbXsrv_session_auth0
                          prev                     : *
                          next                     : NULL
                          session                  : *
                          connection               : *
                          gensec                   : *
                          preauth                  : NULL
                          in_flags                 : 0x00 (0)
                          in_security_mode         : 0x01 (1)
                          creation_time            : Wed Aug 26 09:53:02 AM 2020 CEST
                          idle_time                : Wed Aug 26 09:53:02 AM 2020 CEST
[2020/08/26 09:53:02.427306,  4, pid=2553, 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
[2020/08/26 09:53:02.427323,  4, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/08/26 09:53:02.427339,  4, pid=2553, 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
[2020/08/26 09:53:02.427354,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.427368,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.427395,  4, pid=2553, 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
  smbd_smb2_request_pending_queue: req->current_idx = 1
  	req->in.vector[0].iov_len = 0
  	req->in.vector[1].iov_len = 0
  	req->in.vector[2].iov_len = 64
  	req->in.vector[3].iov_len = 24
  	req->in.vector[4].iov_len = 511
  	req->out.vector[0].iov_len = 4
  	req->out.vector[1].iov_len = 0
  	req->out.vector[2].iov_len = 64
  	req->out.vector[3].iov_len = 8
  	req->out.vector[4].iov_len = 0
[2020/08/26 09:53:02.427493,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       authenticate: struct AUTHENTICATE_MESSAGE
          Signature                : 'NTLMSSP'
          MessageType              : NtLmAuthenticate (3)
          LmChallengeResponseLen   : 0x0018 (24)
          LmChallengeResponseMaxLen: 0x0018 (24)
          LmChallengeResponse      : *
              LmChallengeResponse      : union ntlmssp_LM_RESPONSE(case 24)
              v1: struct LM_RESPONSE
                  Response                 : 000000000000000000000000000000000000000000000000
          NtChallengeResponseLen   : 0x0128 (296)
          NtChallengeResponseMaxLen: 0x0128 (296)
          NtChallengeResponse      : *
              NtChallengeResponse      : union ntlmssp_NTLM_RESPONSE(case 296)
              v2: struct NTLMv2_RESPONSE
                  Response                 : b0ca5bc2c6e5453b1f64ae69d9746375
                  Challenge: struct NTLMv2_CLIENT_CHALLENGE
                      RespType                 : 0x01 (1)
                      HiRespType               : 0x01 (1)
                      Reserved1                : 0x0000 (0)
                      Reserved2                : 0x00000000 (0)
                      TimeStamp                : Wed Aug 26 09:53:02 AM 2020 CEST
                      ChallengeFromClient      : b25d9f3aefa230da
                      Reserved3                : 0x00000000 (0)
                      AvPairs: struct AV_PAIR_LIST
                          count                    : 0x0000000a (10)
                          pair: ARRAY(10)
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvNbDomainName (0x2)
                                  AvLen                    : 0x0014 (20)
                                  Value                    : union ntlmssp_AvValue(case 0x2)
                                  AvNbDomainName           : 'DOMINIOCSA'
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvNbComputerName (0x1)
                                  AvLen                    : 0x0008 (8)
                                  Value                    : union ntlmssp_AvValue(case 0x1)
                                  AvNbComputerName         : 'ZIZI'
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvDnsDomainName (0x4)
                                  AvLen                    : 0x001e (30)
                                  Value                    : union ntlmssp_AvValue(case 0x4)
                                  AvDnsDomainName          : 'csaricerche.com'
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvDnsComputerName (0x3)
                                  AvLen                    : 0x0028 (40)
                                  Value                    : union ntlmssp_AvValue(case 0x3)
                                  AvDnsComputerName        : 'zizi.csaricerche.com'
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvTimestamp (0x7)
                                  AvLen                    : 0x0008 (8)
                                  Value                    : union ntlmssp_AvValue(case 0x7)
                                  AvTimestamp              : Wed Aug 26 09:53:02 AM 2020 CEST
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvFlags (0x6)
                                  AvLen                    : 0x0004 (4)
                                  Value                    : union ntlmssp_AvValue(case 0x6)
                                  AvFlags                  : 0x00000002 (2)
                                         0: NTLMSSP_AVFLAG_CONSTRAINTED_ACCOUNT
                                         1: NTLMSSP_AVFLAG_MIC_IN_AUTHENTICATE_MESSAGE
                                         0: NTLMSSP_AVFLAG_TARGET_SPN_FROM_UNTRUSTED_SOURCE
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvSingleHost (0x8)
                                  AvLen                    : 0x0030 (48)
                                  Value                    : union ntlmssp_AvValue(case 0x8)
                                  AvSingleHost: struct ntlmssp_SingleHostData
                                      Size                     : 0x00000030 (48)
                                      Z4                       : 0x00000000 (0)
                                      token_info: struct LSAP_TOKEN_INFO_INTEGRITY
                                          Flags                    : 0x00000001 (1)
                                          TokenIL                  : 0x00002000 (8192)
                                          MachineId                : c6ddddaaf4b77d82ea24d5928a44be890ccd3be7a0ba472c2734ecd872c2d78e
                                      remaining                : DATA_BLOB length=0
                              pair: struct AV_PAIR
                                  AvId                     : MsvChannelBindings (0xA)
                                  AvLen                    : 0x0010 (16)
                                  Value                    : union ntlmssp_AvValue(case 0xA)
                                  ChannelBindings          : 00000000000000000000000000000000
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvTargetName (0x9)
                                  AvLen                    : 0x0022 (34)
                                  Value                    : union ntlmssp_AvValue(case 0x9)
                                  AvTargetName             : 'cifs/192.168.70.3'
                              pair: struct AV_PAIR
                                  AvId                     : MsvAvEOL (0x0)
                                  AvLen                    : 0x0000 (0)
                                  Value                    : union ntlmssp_AvValue(case 0x0)
          DomainNameLen            : 0x000e (14)
          DomainNameMaxLen         : 0x000e (14)
          DomainName               : *
              DomainName               : 'CSATEST'
          UserNameLen              : 0x000a (10)
          UserNameMaxLen           : 0x000a (10)
          UserName                 : *
              UserName                 : 'psala'
          WorkstationLen           : 0x0016 (22)
          WorkstationMaxLen        : 0x0016 (22)
          Workstation              : *
              Workstation              : 'WIN7PRO-V01'
          EncryptedRandomSessionKeyLen: 0x0010 (16)
          EncryptedRandomSessionKeyMaxLen: 0x0010 (16)
          EncryptedRandomSessionKey: *
              EncryptedRandomSessionKey: DATA_BLOB length=16
  [0000] D6 A9 8B 3D 5C 74 D1 7E   07 89 DC 7C 64 CD 0D 4B   ...=\t.~ ...|d..K
          NegotiateFlags           : 0xe2888215 (3800597013)
                 1: NTLMSSP_NEGOTIATE_UNICODE
                 0: NTLMSSP_NEGOTIATE_OEM    
                 1: NTLMSSP_REQUEST_TARGET   
                 1: NTLMSSP_NEGOTIATE_SIGN   
                 0: NTLMSSP_NEGOTIATE_SEAL   
                 0: NTLMSSP_NEGOTIATE_DATAGRAM
                 0: NTLMSSP_NEGOTIATE_LM_KEY 
                 0: NTLMSSP_NEGOTIATE_NETWARE
                 1: NTLMSSP_NEGOTIATE_NTLM   
                 0: NTLMSSP_NEGOTIATE_NT_ONLY
                 0: NTLMSSP_ANONYMOUS        
                 0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
                 0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
                 0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
                 1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
                 0: NTLMSSP_TARGET_TYPE_DOMAIN
                 0: NTLMSSP_TARGET_TYPE_SERVER
                 0: NTLMSSP_TARGET_TYPE_SHARE
                 1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
                 0: NTLMSSP_NEGOTIATE_IDENTIFY
                 0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
                 1: NTLMSSP_NEGOTIATE_TARGET_INFO
                 1: NTLMSSP_NEGOTIATE_VERSION
                 1: NTLMSSP_NEGOTIATE_128    
                 1: NTLMSSP_NEGOTIATE_KEY_EXCH
                 1: NTLMSSP_NEGOTIATE_56     
          Version: struct ntlmssp_VERSION
              ProductMajorVersion      : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (6)
              ProductMinorVersion      : NTLMSSP_WINDOWS_MINOR_VERSION_1 (1)
              ProductBuild             : 0x1db1 (7601)
              Reserved: ARRAY(3)
                  [0]                      : 0x00 (0)
                  [1]                      : 0x00 (0)
                  [2]                      : 0x00 (0)
              NTLMRevisionCurrent      : NTLMSSP_REVISION_W2K3 (15)
[2020/08/26 09:53:02.428480,  3, pid=2553, effective(0, 0), real(0, 0)] ../auth/ntlmssp/ntlmssp_server.c:452(ntlmssp_server_preauth)
  Got user=[psala] domain=[CSATEST] workstation=[WIN7PRO-V01] len1=24 len2=296
[2020/08/26 09:53:02.428511, 10, pid=2553, effective(0, 0), real(0, 0)] ../auth/ntlmssp/ntlmssp_server.c:483(ntlmssp_server_preauth)
[2020/08/26 09:53:02.428523,  1, pid=2553, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &v2_resp: struct NTLMv2_RESPONSE
          Response                 : b0ca5bc2c6e5453b1f64ae69d9746375
          Challenge: struct NTLMv2_CLIENT_CHALLENGE
              RespType                 : 0x01 (1)
              HiRespType               : 0x01 (1)
              Reserved1                : 0x0000 (0)
              Reserved2                : 0x00000000 (0)
              TimeStamp                : Wed Aug 26 09:53:02 AM 2020 CEST
              ChallengeFromClient      : b25d9f3aefa230da
              Reserved3                : 0x00000000 (0)
              AvPairs: struct AV_PAIR_LIST
                  count                    : 0x0000000a (10)
                  pair: ARRAY(10)
                      pair: struct AV_PAIR
                          AvId                     : MsvAvNbDomainName (0x2)
                          AvLen                    : 0x0014 (20)
                          Value                    : union ntlmssp_AvValue(case 0x2)
                          AvNbDomainName           : 'DOMINIOCSA'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvNbComputerName (0x1)
                          AvLen                    : 0x0008 (8)
                          Value                    : union ntlmssp_AvValue(case 0x1)
                          AvNbComputerName         : 'ZIZI'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvDnsDomainName (0x4)
                          AvLen                    : 0x001e (30)
                          Value                    : union ntlmssp_AvValue(case 0x4)
                          AvDnsDomainName          : 'csaricerche.com'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvDnsComputerName (0x3)
                          AvLen                    : 0x0028 (40)
                          Value                    : union ntlmssp_AvValue(case 0x3)
                          AvDnsComputerName        : 'zizi.csaricerche.com'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvTimestamp (0x7)
                          AvLen                    : 0x0008 (8)
                          Value                    : union ntlmssp_AvValue(case 0x7)
                          AvTimestamp              : Wed Aug 26 09:53:02 AM 2020 CEST
                      pair: struct AV_PAIR
                          AvId                     : MsvAvFlags (0x6)
                          AvLen                    : 0x0004 (4)
                          Value                    : union ntlmssp_AvValue(case 0x6)
                          AvFlags                  : 0x00000002 (2)
                                 0: NTLMSSP_AVFLAG_CONSTRAINTED_ACCOUNT
                                 1: NTLMSSP_AVFLAG_MIC_IN_AUTHENTICATE_MESSAGE
                                 0: NTLMSSP_AVFLAG_TARGET_SPN_FROM_UNTRUSTED_SOURCE
                      pair: struct AV_PAIR
                          AvId                     : MsvAvSingleHost (0x8)
                          AvLen                    : 0x0030 (48)
                          Value                    : union ntlmssp_AvValue(case 0x8)
                          AvSingleHost: struct ntlmssp_SingleHostData
                              Size                     : 0x00000030 (48)
                              Z4                       : 0x00000000 (0)
                              token_info: struct LSAP_TOKEN_INFO_INTEGRITY
                                  Flags                    : 0x00000001 (1)
                                  TokenIL                  : 0x00002000 (8192)
                                  MachineId                : c6ddddaaf4b77d82ea24d5928a44be890ccd3be7a0ba472c2734ecd872c2d78e
                              remaining                : DATA_BLOB length=0
                      pair: struct AV_PAIR
                          AvId                     : MsvChannelBindings (0xA)
                          AvLen                    : 0x0010 (16)
                          Value                    : union ntlmssp_AvValue(case 0xA)
                          ChannelBindings          : 00000000000000000000000000000000
                      pair: struct AV_PAIR
                          AvId                     : MsvAvTargetName (0x9)
                          AvLen                    : 0x0022 (34)
                          Value                    : union ntlmssp_AvValue(case 0x9)
                          AvTargetName             : 'cifs/192.168.70.3'
                      pair: struct AV_PAIR
                          AvId                     : MsvAvEOL (0x0)
                          AvLen                    : 0x0000 (0)
                          Value                    : union ntlmssp_AvValue(case 0x0)
[2020/08/26 09:53:02.429052,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:3739(lp_load_ex)
  lp_load_ex: refreshing parameters
[2020/08/26 09:53:02.429070,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:1312(free_param_opts)
  Freeing parametrics:
[2020/08/26 09:53:02.429140,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:542(init_globals)
  Initialising global parameters
[2020/08/26 09:53:02.429263,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2668(lp_do_section)
  Processing section "[global]"
  doing parameter workgroup = DOMINIOCSA
  doing parameter server string = %h server
  doing parameter client signing = auto
  doing parameter server signing = mandatory
  doing parameter ntlm auth = yes
  doing parameter client min protocol = NT1
  doing parameter server min protocol = NT1
  doing parameter allow insecure wide links = yes
  doing parameter unix extensions = no
  doing parameter server signing = auto
  doing parameter client signing = auto
  doing parameter client ipc signing = auto
  doing parameter wins server = 192.168.70.2
  doing parameter dns proxy = no
  doing parameter log file = /var/log/samba/log.%m
  doing parameter log level = 10
[2020/08/26 09:53:02.429588,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/util/debug.c:642(debug_dump_status)
  INFO: Current debug levels:
    all: 10
    tdb: 10
    printdrivers: 10
    lanman: 10
    smb: 10
    rpc_parse: 10
    rpc_srv: 10
    rpc_cli: 10
    passdb: 10
    sam: 10
    auth: 10
    winbind: 10
    vfs: 10
    idmap: 10
    quota: 10
    acls: 10
    locking: 10
    msdfs: 10
    dmapi: 10
    registry: 10
    scavenger: 10
    dns: 10
    ldb: 10
    tevent: 10
  doing parameter max log size = 1000
  doing parameter panic action = /usr/share/samba/panic-action %d
  doing parameter security = domain
  doing parameter password server = *
  doing parameter inherit acls = yes
  doing parameter map acl inherit = yes
  doing parameter map archive = no
  doing parameter encrypt passwords = true
  doing parameter passdb backend = tdbsam
  doing parameter obey pam restrictions = yes
  doing parameter invalid users = root
  doing parameter unix password sync = Yes
  doing parameter passwd program = /usr/bin/passwd %u
  doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  doing parameter pam password change = Yes
  doing parameter map to guest = bad password
  doing parameter printing = cups
  doing parameter printcap name = cups
  doing parameter idmap config DOMINIOCSA : backend = rid
  doing parameter idmap config DOMINIOCSA : range = 10000-25000
  doing parameter idmap config * : backend = tdb
  doing parameter idmap config * : range = 25000-30000
  doing parameter allow trusted domains = No
  doing parameter template shell = /bin/bash
  doing parameter winbind enum groups = yes
  doing parameter winbind enum users = yes
  doing parameter winbind cache time = 1
[2020/08/26 09:53:02.430338,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[printers]"
  doing parameter comment = All Printers
  doing parameter browseable = no
  doing parameter path = /var/spool/samba
  doing parameter printable = yes
  doing parameter guest ok = no
  doing parameter read only = yes
  doing parameter create mask = 0700
[2020/08/26 09:53:02.430458,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[print$]"
  doing parameter comment = Printer Drivers
  doing parameter path = /var/lib/samba/printers
  doing parameter browseable = yes
  doing parameter read only = yes
  doing parameter guest ok = no
  doing parameter write list = "@DOMINIOCSA\domain admins"
[2020/08/26 09:53:02.430572,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[xlsResults]"
  doing parameter comment = test
  doing parameter read only = no
  doing parameter path = /tmp/xlsResults
[2020/08/26 09:53:02.430626,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[mailPDF]"
  doing parameter comment = Conversione in PDF: consegna via email
  doing parameter printing = bsd
  doing parameter path = /tmp
  doing parameter printable = yes
  doing parameter guest ok = no
  doing parameter print command = /opt/scripts/bin/sendPDF.sh %s %H %U "%J" %p %m %S
[2020/08/26 09:53:02.430734,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[http]"
  doing parameter comment = Directory pubblicata su http://zizi
  doing parameter browseable = no
  doing parameter force group = @DOMINIOCSA\rete_amm
  doing parameter force create mode = 0664
  doing parameter create mask = 0664
  doing parameter force directory mode = 2775
  doing parameter write list = @DOMINIOCSA\rete_amm
  doing parameter path = /var/www
[2020/08/26 09:53:02.430874,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[calendar]"
  doing parameter comment = Directory dell'applicativo phpicalendar
  doing parameter browseable = no
  doing parameter force create mode = 0665
  doing parameter force directory mode = 2775
  doing parameter write list = @DOMINIOCSA\rete_amm
  doing parameter path = /usr/share/phpicalendar
[2020/08/26 09:53:02.430977,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[pear]"
  doing parameter comment = Directory delle classi pear
  doing parameter browseable = no
  doing parameter force create mode = 0665
  doing parameter force directory mode = 2775
  doing parameter read only = yes
  doing parameter path = /usr/share/php
[2020/08/26 09:53:02.431076,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[archivio_studi]"
  doing parameter comment = Directory base per il ripristino degli archivi
  doing parameter browseable = no
  doing parameter path = /home/temp_archivio_studi
[2020/08/26 09:53:02.431118,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[gestionale-xls]"
  doing parameter comment = Files batch esportati in xls da gestionale
  doing parameter browseable = no
  doing parameter write list = "@DOMINIOCSA\domain admins"
  doing parameter path = /home/export-xls
[2020/08/26 09:53:02.431182,  2, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2685(lp_do_section)
  Processing section "[tuning]"
  doing parameter comment = Conversione in PDF delle stampe di tuning degli strumenti
  doing parameter force group = "@DOMINIOCSA\domain users"
  doing parameter printing = bsd
  doing parameter path = /tmp
  doing parameter printable = yes
  doing parameter guest ok = yes
  doing parameter print ok = Yes
  doing parameter print command = /opt/scripts/bin/tuningPDF.sh %s %H "%J" %p %m %S 'default'
[2020/08/26 09:53:02.431333,  4, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:3780(lp_load_ex)
  pm_process() returned Yes
[2020/08/26 09:53:02.431363,  7, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:4096(lp_servicenumber)
  lp_servicenumber: couldn't find homes
[2020/08/26 09:53:02.431383,  3, pid=2553, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:1585(lp_add_ipc)
  adding IPC service
[2020/08/26 09:53:02.431416,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth_util.c:122(make_user_info_map)
  Mapping user [CSATEST]\[psala] from workstation [WIN7PRO-V01]
[2020/08/26 09:53:02.431935,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth_util.c:143(make_user_info_map)
  Mapped domain from [CSATEST] to [ZIZI] for user [psala] from workstation [WIN7PRO-V01]
[2020/08/26 09:53:02.431964,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/user_info.c:62(make_user_info)
  attempting to make a user_info for psala (psala)
[2020/08/26 09:53:02.431981,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/user_info.c:70(make_user_info)
  making strings for psala's user_info struct
[2020/08/26 09:53:02.432001,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/user_info.c:108(make_user_info)
  making blobs for psala's user_info struct
[2020/08/26 09:53:02.432026, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/user_info.c:159(make_user_info)
  made a user_info for psala (psala)
[2020/08/26 09:53:02.432042,  3, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:178(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [CSATEST]\[psala]@[WIN7PRO-V01] with the new password interface
[2020/08/26 09:53:02.432060,  3, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:181(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZIZI]\[psala]@[WIN7PRO-V01]
[2020/08/26 09:53:02.432076, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:190(auth_check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2020/08/26 09:53:02.432091, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:192(auth_check_ntlm_password)
  challenge is: 
[2020/08/26 09:53:02.432105,  5, pid=2553, effective(0, 0), real(0, 0)] ../lib/util/util.c:555(dump_data)
  [0000] BE 85 B5 08 E7 DE FC 17                             ........ 
[2020/08/26 09:53:02.432135,  8, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1239(is_myname)
  is_myname("ZIZI") returns 1
[2020/08/26 09:53:02.432152, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth_builtin.c:41(check_guest_security)
  Check auth for: [psala]
[2020/08/26 09:53:02.432167, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:233(auth_check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2020/08/26 09:53:02.432184, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [psala]
[2020/08/26 09:53:02.432200,  8, pid=2553, effective(0, 0), real(0, 0)] ../source3/lib/util.c:1239(is_myname)
  is_myname("ZIZI") returns 1
[2020/08/26 09:53:02.432221,  4, pid=2553, 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
[2020/08/26 09:53:02.432238,  4, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/08/26 09:53:02.432254,  4, pid=2553, 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
[2020/08/26 09:53:02.432270,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.432285,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.432337,  5, pid=2553, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam)
  pdb_getsampwnam (TDB): error fetching database.
   Key: USER_psala
[2020/08/26 09:53:02.432367,  4, pid=2553, 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
[2020/08/26 09:53:02.432383,  3, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/check_samsec.c:400(check_sam_security)
  check_sam_security: Couldn't find user 'psala' in passdb.
[2020/08/26 09:53:02.432399,  5, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:252(auth_check_ntlm_password)
  check_ntlm_password: sam authentication for user [psala] FAILED with error NT_STATUS_NO_SUCH_USER
[2020/08/26 09:53:02.432418, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth_winbind.c:50(check_winbind_security)
  Check auth for: [psala]
[2020/08/26 09:53:02.432434,  3, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth_winbind.c:60(check_winbind_security)
  check_winbind_security: Not using winbind, requested domain [ZIZI] was for this SAM.
[2020/08/26 09:53:02.432450, 10, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:233(auth_check_ntlm_password)
  check_ntlm_password: winbind had nothing to say
[2020/08/26 09:53:02.432471,  2, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth.c:315(auth_check_ntlm_password)
  check_ntlm_password:  Authentication for user [psala] -> [psala] FAILED with error NT_STATUS_NO_SUCH_USER
[2020/08/26 09:53:02.432488,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/auth_ntlmssp.c:188(auth3_check_password)
  Checking NTLMSSP password for CSATEST\psala failed: NT_STATUS_NO_SUCH_USER
[2020/08/26 09:53:02.432504,  3, pid=2553, effective(0, 0), real(0, 0), class=auth] ../source3/auth/auth_util.c:1611(do_map_to_guest_server_info)
  No such user psala [CSATEST] - using guest account
[2020/08/26 09:53:02.432538, 10, pid=2553, effective(0, 0), real(0, 0)] ../auth/ntlmssp/ntlmssp_server.c:874(ntlmssp_server_postauth)
  ntlmssp_server_auth: Failed to create unmodified session key.
[2020/08/26 09:53:02.432555,  5, pid=2553, effective(0, 0), real(0, 0)] ../auth/ntlmssp/ntlmssp_server.c:891(ntlmssp_server_postauth)
  server session key is invalid (len == 0), cannot do KEY_EXCH!
[2020/08/26 09:53:02.432583,  4, pid=2553, 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
[2020/08/26 09:53:02.432599,  4, pid=2553, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2020/08/26 09:53:02.432614,  4, pid=2553, 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
[2020/08/26 09:53:02.432629,  5, pid=2553, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2020/08/26 09:53:02.432644,  5, pid=2553, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:639(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2020/08/26 09:53:02.432671,  4, pid=2553, 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


More information about the samba mailing list