[2021/07/25 18:16:32.125595, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 5 vectors [2021/07/25 18:16:32.125687, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 13 (position 13) from bitmap [2021/07/25 18:16:32.125739, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 13 [2021/07/25 18:16:32.125771, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.125823, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.125996, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:706(smbd_smb2_create_send) smbd_smb2_create_send: name [] [2021/07/25 18:16:32.126033, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:811(smbd_smb2_create_send) smbd_smb2_create_send: open execution phase [2021/07/25 18:16:32.126220, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:481(unix_convert) unix_convert called on file "" [2021/07/25 18:16:32.126251, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:515(unix_convert) conversion finished "" -> . [2021/07/25 18:16:32.126379, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/util.c:909(is_in_path) is_in_path: . [2021/07/25 18:16:32.126484, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/util.c:933(is_in_path) is_in_path: match not found [2021/07/25 18:16:32.126509, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1318(check_reduced_name) check_reduced_name: check_reduced_name [.] [/export/vol-1] [2021/07/25 18:16:32.126676, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1382(check_reduced_name) check_reduced_name realpath [.] -> [/export/vol-1] [2021/07/25 18:16:32.126704, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1493(check_reduced_name) check_reduced_name: . reduced to /export/vol-1 [2021/07/25 18:16:32.126808, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5963(create_file_default) create_file_default: create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x200000 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = . [2021/07/25 18:16:32.126992, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5410(create_file_unixpath) create_file_unixpath: create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x200000 oplock_request = 0x0 private_flags = 0x0 ea_list = (nil), sd = (nil), fname = . [2021/07/25 18:16:32.127112, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.127140, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.127313, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key A2420B2B [2021/07/25 18:16:32.127455, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd941da0 [2021/07/25 18:16:32.127487, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record) smbXsrv_open_global_verify_record: empty value [2021/07/25 18:16:32.127706, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store) smbXsrv_open_global_store: key 'A2420B2B' stored [2021/07/25 18:16:32.127752, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &global_blob: struct smbXsrv_open_globalB version : SMBXSRV_VERSION_0 (0) seqnum : 0x00000001 (1) info : union smbXsrv_open_globalU(case 0) info0 : * info0: struct smbXsrv_open_global0 db_rec : * server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0xa2420b2b (2722237227) open_persistent_id : 0x00000000a2420b2b (2722237227) open_volatile_id : 0x000000003d3301ee (1026753006) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) [2021/07/25 18:16:32.130578, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key A2420B2B [2021/07/25 18:16:32.130610, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.130715, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:910(smbXsrv_open_create) smbXsrv_open_create: global_id (0xa2420b2b) stored [2021/07/25 18:16:32.130812, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &open_blob: struct smbXsrv_openB version : SMBXSRV_VERSION_0 (0) reserved : 0x00000000 (0) info : union smbXsrv_openU(case 0) info0 : * info0: struct smbXsrv_open table : * db_rec : NULL local_id : 0x3d3301ee (1026753006) global : * global: struct smbXsrv_open_global0 db_rec : NULL server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0xa2420b2b (2722237227) open_persistent_id : 0x00000000a2420b2b (2722237227) open_volatile_id : 0x000000003d3301ee (1026753006) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) status : NT_STATUS_OK idle_time : Sun Jul 25 18:16:32 2021 IDT compat : NULL flags : 0x00 (0) 0: SMBXSRV_OPEN_NEED_REPLAY_CACHE 0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE create_action : 0x00000000 (0) request_count : 0x0000000000000000 (0) pre_request_count : 0x0000000000000000 (0) [2021/07/25 18:16:32.134325, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:150(file_new) allocated file structure fnum 1026753006 (2 used) [2021/07/25 18:16:32.134523, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:756(file_name_hash) file_name_hash: /export/vol-1/. hash 0x28e3895d [2021/07/25 18:16:32.134579, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:208(unix_mode) unix_mode: unix_mode(.) returning 0744 [2021/07/25 18:16:32.134702, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3403(open_file_ntcreate) open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x200000 unix mode=0744 oplock_request=0 private_flags = 0x0 [2021/07/25 18:16:32.134897, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3584(open_file_ntcreate) open_file_ntcreate: fname=., after mapping access_mask=0x80 [2021/07/25 18:16:32.134927, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3686(open_file_ntcreate) calling open_file with flags=0x0 flags2=0x800 mode=0744, access_mask = 0x80, open_access_mask = 0x80 [2021/07/25 18:16:32.135037, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file . [2021/07/25 18:16:32.135270, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.135319, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.135433, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.135533, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.135629, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.135881, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.135934, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.136030, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.136134, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.136238, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.136457, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.136576, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.136688, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.136808, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.136914, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.137051, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.137079, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.137188, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.137283, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.137389, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.137601, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.137631, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.137759, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.137856, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.137957, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.138063, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.138167, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.138395, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.138508, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.138600, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.138783, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:196(smbd_check_access_rights) smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK) [2021/07/25 18:16:32.138899, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.138927, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.139028, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key A2420B2B [2021/07/25 18:16:32.139137, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8de0e0 [2021/07/25 18:16:32.139330, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key A2420B2B [2021/07/25 18:16:32.139369, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.139556, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:553(file_free) freed files structure 1026753006 (1 used) [2021/07/25 18:16:32.139584, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:4293(open_directory) open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x200000, create_disposition = 0x1, file_attributes = 0x10 [2021/07/25 18:16:32.139776, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file . [2021/07/25 18:16:32.139925, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.139953, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.140064, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.140159, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.140252, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.140499, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.140547, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.140642, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.140749, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.140845, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.141045, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.141165, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.141197, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.141394, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.141428, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.141650, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.141687, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.141703, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.142010, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.142034, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.142240, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.142356, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.142388, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.142489, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.142597, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.142721, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.142825, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.143022, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.143110, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.143194, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.143290, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:196(smbd_check_access_rights) smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK) [2021/07/25 18:16:32.143485, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.143511, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.143598, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 1232AD70 [2021/07/25 18:16:32.143844, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd941da0 [2021/07/25 18:16:32.144168, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record) smbXsrv_open_global_verify_record: empty value [2021/07/25 18:16:32.144369, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store) smbXsrv_open_global_store: key '1232AD70' stored [2021/07/25 18:16:32.144399, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &global_blob: struct smbXsrv_open_globalB version : SMBXSRV_VERSION_0 (0) seqnum : 0x00000001 (1) info : union smbXsrv_open_globalU(case 0) info0 : * info0: struct smbXsrv_open_global0 db_rec : * server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0x1232ad70 (305311088) open_persistent_id : 0x000000001232ad70 (305311088) open_volatile_id : 0x00000000d39d03c6 (3550282694) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) [2021/07/25 18:16:32.147067, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 1232AD70 [2021/07/25 18:16:32.147098, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.147207, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:910(smbXsrv_open_create) smbXsrv_open_create: global_id (0x1232ad70) stored [2021/07/25 18:16:32.147312, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &open_blob: struct smbXsrv_openB version : SMBXSRV_VERSION_0 (0) reserved : 0x00000000 (0) info : union smbXsrv_openU(case 0) info0 : * info0: struct smbXsrv_open table : * db_rec : NULL local_id : 0xd39d03c6 (3550282694) global : * global: struct smbXsrv_open_global0 db_rec : NULL server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0x1232ad70 (305311088) open_persistent_id : 0x000000001232ad70 (305311088) open_volatile_id : 0x00000000d39d03c6 (3550282694) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) status : NT_STATUS_OK idle_time : Sun Jul 25 18:16:32 2021 IDT compat : NULL flags : 0x00 (0) 0: SMBXSRV_OPEN_NEED_REPLAY_CACHE 0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE create_action : 0x00000000 (0) request_count : 0x0000000000000000 (0) pre_request_count : 0x0000000000000000 (0) [2021/07/25 18:16:32.150932, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:150(file_new) allocated file structure fnum 3550282694 (2 used) [2021/07/25 18:16:32.150969, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:756(file_name_hash) file_name_hash: /export/vol-1/. hash 0x28e3895d [2021/07/25 18:16:32.151181, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1318(check_reduced_name) check_reduced_name: check_reduced_name [.] [/export/vol-1] [2021/07/25 18:16:32.151212, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1382(check_reduced_name) check_reduced_name realpath [.] -> [/export/vol-1] [2021/07/25 18:16:32.151323, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1493(check_reduced_name) check_reduced_name: . reduced to /export/vol-1 [2021/07/25 18:16:32.151517, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/modules/vfs_default.c:694(vfswrap_open) open(., flags=0x30000, mode=0) [2021/07/25 18:16:32.151549, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:829(fd_open) fd_open: name ., flags = 0200000 mode = 00, fd = 34. [2021/07/25 18:16:32.151749, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.151777, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:32.151963, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008000 [2021/07/25 18:16:32.151993, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8a2320 [2021/07/25 18:16:32.152182, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:362(share_mode_memcache_fetch) share_mode_memcache_fetch: fetched entry for file . seq 41468f495008697d key 64792:128:0 [2021/07/25 18:16:32.152232, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0x28e3895d [2021/07/25 18:16:32.152448, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.152476, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.152645, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1426(share_mode_entry_put) share_mode_entry_put: share_mode_entry: [2021/07/25 18:16:32.152788, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) discard_const_p(void, e): struct share_mode_entry pid: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) op_mid : 0x000000000000000d (13) op_type : 0x0000 (0) client_guid : 00000000-0000-0000-0000-000000000000 lease_key: struct smb2_lease_key data: ARRAY(2) data : 0x0000000000000000 (0) data : 0x0000000000000000 (0) access_mask : 0x00000080 (128) share_access : 0x00000007 (7) private_options : 0x00000000 (0) time : Sun Jul 25 18:16:32 2021 IDT.143405 share_file_id : 0x0000000000000004 (4) uid : 0x000003f1 (1009) flags : 0x0000 (0) name_hash : 0x28e3895d (686000477) stale : 0x00 (0) [2021/07/25 18:16:32.154720, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1554(set_share_mode_fn) set_share_mode_fn: num_share_modes=1 [2021/07/25 18:16:32.154750, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1485(share_mode_entry_find) share_mode_entry_find: left=0, right=0, middle=0 [2021/07/25 18:16:32.154847, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1494(share_mode_entry_find) share_mode_entry_find: blob.data=0x7f3ccd812260, blob.length=132 [2021/07/25 18:16:32.154960, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1569(set_share_mode_fn) set_share_mode_fn: idx=0, found=0 [2021/07/25 18:16:32.155054, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1598(set_share_mode_fn) set_share_mode_fn: dbufs[0]=(0x7ffc3d3a2db0, 132) [2021/07/25 18:16:32.155231, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1598(set_share_mode_fn) set_share_mode_fn: dbufs[1]=(0x7f3ccd812260, 132) [2021/07/25 18:16:32.155332, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.155452, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:433(share_mode_data_store) share_mode_data_store: not modified [2021/07/25 18:16:32.155654, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.155769, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008000 [2021/07/25 18:16:32.155866, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:185(share_mode_memcache_store) share_mode_memcache_store: stored entry for file . seq 41468f495008697d key 64792:128:0 [2021/07/25 18:16:32.155971, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5770(create_file_unixpath) create_file_unixpath: info=1 [2021/07/25 18:16:32.156062, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:6060(create_file_default) create_file: info=1 [2021/07/25 18:16:32.156157, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1320(smbd_smb2_create_after_exec) smbd_smb2_create_send: response construction phase [2021/07/25 18:16:32.156244, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:779(dos_mode) dos_mode: . [2021/07/25 18:16:32.156440, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d" [2021/07/25 18:16:32.156544, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode returning (0x10): "d" [2021/07/25 18:16:32.156636, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file . [2021/07/25 18:16:32.156848, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.156875, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.156985, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.157074, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.157170, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.157391, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.157424, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.157522, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.157625, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.157723, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.157905, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.157938, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.158064, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.161855, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.161898, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.162093, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.162123, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.162208, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.162304, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.162411, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.162595, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.162622, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.162791, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.162816, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.162911, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.162997, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.163086, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.163269, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.163365, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.163472, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.163632, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/access_check.c:217(se_access_check) se_access_check: MAX desired = 0x2000000, granted = 0x1f01ff, remaining = 0x1f01ff [2021/07/25 18:16:32.163750, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1548(smbd_smb2_create_finish) smbd_smb2_create_finish: . - fnum 3550282694 [2021/07/25 18:16:32.163856, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [13] idx[1] status[NT_STATUS_OK] body[88] dyn[yes:32] at ../../source3/smbd/smb2_create.c:405 [2021/07/25 18:16:32.163976, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8162/8192, total granted/max/low/range 31/8192/14/31 [2021/07/25 18:16:32.164468, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 5 vectors [2021/07/25 18:16:32.164499, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 14 (position 14) from bitmap [2021/07/25 18:16:32.164601, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 14 [2021/07/25 18:16:32.164709, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.164889, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.165095, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_close.c:230(smbd_smb2_close) smbd_smb2_close: . - fnum 3550282694 [2021/07/25 18:16:32.165188, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.165215, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:32.165443, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008000 [2021/07/25 18:16:32.165475, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8a2320 [2021/07/25 18:16:32.165720, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:362(share_mode_memcache_fetch) share_mode_memcache_fetch: fetched entry for file . seq 41468f495008697d key 64792:128:0 [2021/07/25 18:16:32.165751, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0x28e3895d [2021/07/25 18:16:32.165839, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.165941, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.166039, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1939(share_mode_entry_do_fn) share_mode_entry_do_fn: state->num_share_modes=2 [2021/07/25 18:16:32.166177, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1485(share_mode_entry_find) share_mode_entry_find: left=0, right=1, middle=0 [2021/07/25 18:16:32.166268, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1494(share_mode_entry_find) share_mode_entry_find: blob.data=0x7f3ccd8de0e0, blob.length=132 [2021/07/25 18:16:32.166438, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.166468, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:433(share_mode_data_store) share_mode_data_store: not modified [2021/07/25 18:16:32.166482, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.166612, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008000 [2021/07/25 18:16:32.166720, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:185(share_mode_memcache_store) share_mode_memcache_store: stored entry for file . seq 41468f495008697d key 64792:128:0 [2021/07/25 18:16:32.166879, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.166905, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.166992, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 1232AD70 [2021/07/25 18:16:32.167076, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8de0e0 [2021/07/25 18:16:32.167179, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 1232AD70 [2021/07/25 18:16:32.167264, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.167364, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:553(file_free) freed files structure 3550282694 (1 used) [2021/07/25 18:16:32.167454, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:779(dos_mode) dos_mode: . [2021/07/25 18:16:32.167541, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d" [2021/07/25 18:16:32.167625, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode returning (0x10): "d" [2021/07/25 18:16:32.167722, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [14] idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../../source3/smbd/smb2_close.c:147 [2021/07/25 18:16:32.167913, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8162/8192, total granted/max/low/range 31/8192/15/31 [2021/07/25 18:16:32.303175, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 5 vectors [2021/07/25 18:16:32.303241, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 15 (position 15) from bitmap [2021/07/25 18:16:32.303263, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 15 [2021/07/25 18:16:32.303453, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.303686, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.303915, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:706(smbd_smb2_create_send) smbd_smb2_create_send: name [srcfile] [2021/07/25 18:16:32.304038, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:811(smbd_smb2_create_send) smbd_smb2_create_send: open execution phase [2021/07/25 18:16:32.304069, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:481(unix_convert) unix_convert called on file "srcfile" [2021/07/25 18:16:32.304232, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/statcache.c:245(stat_cache_lookup) stat_cache_lookup: lookup failed for name [SRCFILE] [2021/07/25 18:16:32.304261, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:682(unix_convert) unix_convert begin: name = srcfile, dirpath = ., start = srcfile [2021/07/25 18:16:32.304372, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:705(unix_convert) conversion of base_name finished srcfile -> srcfile [2021/07/25 18:16:32.304476, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/util.c:909(is_in_path) is_in_path: srcfile [2021/07/25 18:16:32.304503, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/util.c:933(is_in_path) is_in_path: match not found [2021/07/25 18:16:32.304589, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1318(check_reduced_name) check_reduced_name: check_reduced_name [srcfile] [/export/vol-1] [2021/07/25 18:16:32.304772, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1382(check_reduced_name) check_reduced_name realpath [srcfile] -> [/export/vol-1/srcfile] [2021/07/25 18:16:32.304799, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1493(check_reduced_name) check_reduced_name: srcfile reduced to /export/vol-1/srcfile [2021/07/25 18:16:32.304919, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5963(create_file_default) create_file_default: create_file: access_mask = 0x120089 file_attributes = 0x0, share_access = 0x5, create_disposition = 0x1 create_options = 0x200044 oplock_request = 0x2 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = srcfile [2021/07/25 18:16:32.305024, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5410(create_file_unixpath) create_file_unixpath: create_file_unixpath: access_mask = 0x120089 file_attributes = 0x0, share_access = 0x5, create_disposition = 0x1 create_options = 0x200044 oplock_request = 0x2 private_flags = 0x0 ea_list = (nil), sd = (nil), fname = srcfile [2021/07/25 18:16:32.305242, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.305270, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.305382, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 430369A6 [2021/07/25 18:16:32.305584, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd941320 [2021/07/25 18:16:32.305708, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record) smbXsrv_open_global_verify_record: empty value [2021/07/25 18:16:32.305840, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store) smbXsrv_open_global_store: key '430369A6' stored [2021/07/25 18:16:32.305868, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &global_blob: struct smbXsrv_open_globalB version : SMBXSRV_VERSION_0 (0) seqnum : 0x00000001 (1) info : union smbXsrv_open_globalU(case 0) info0 : * info0: struct smbXsrv_open_global0 db_rec : * server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0x430369a6 (1124297126) open_persistent_id : 0x00000000430369a6 (1124297126) open_volatile_id : 0x00000000e2ca5a22 (3804912162) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) [2021/07/25 18:16:32.308101, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 430369A6 [2021/07/25 18:16:32.308159, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.308261, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:910(smbXsrv_open_create) smbXsrv_open_create: global_id (0x430369a6) stored [2021/07/25 18:16:32.308369, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &open_blob: struct smbXsrv_openB version : SMBXSRV_VERSION_0 (0) reserved : 0x00000000 (0) info : union smbXsrv_openU(case 0) info0 : * info0: struct smbXsrv_open table : * db_rec : NULL local_id : 0xe2ca5a22 (3804912162) global : * global: struct smbXsrv_open_global0 db_rec : NULL server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0x430369a6 (1124297126) open_persistent_id : 0x00000000430369a6 (1124297126) open_volatile_id : 0x00000000e2ca5a22 (3804912162) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) status : NT_STATUS_OK idle_time : Sun Jul 25 18:16:32 2021 IDT compat : NULL flags : 0x00 (0) 0: SMBXSRV_OPEN_NEED_REPLAY_CACHE 0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE create_action : 0x00000000 (0) request_count : 0x0000000000000000 (0) pre_request_count : 0x0000000000000000 (0) [2021/07/25 18:16:32.311976, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:150(file_new) allocated file structure fnum 3804912162 (2 used) [2021/07/25 18:16:32.312102, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:756(file_name_hash) file_name_hash: /export/vol-1/srcfile hash 0xb161bc6b [2021/07/25 18:16:32.312136, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:208(unix_mode) unix_mode: unix_mode(srcfile) returning 0744 [2021/07/25 18:16:32.312249, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3403(open_file_ntcreate) open_file_ntcreate: fname=srcfile, dos_attrs=0x0 access_mask=0x120089 share_access=0x5 create_disposition = 0x1 create_options=0x200044 unix mode=0744 oplock_request=2 private_flags = 0x0 [2021/07/25 18:16:32.312462, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3584(open_file_ntcreate) open_file_ntcreate: fname=srcfile, after mapping access_mask=0x120089 [2021/07/25 18:16:32.312501, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3686(open_file_ntcreate) calling open_file with flags=0x0 flags2=0x800 mode=0744, access_mask = 0x120089, open_access_mask = 0x120089 [2021/07/25 18:16:32.312622, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file srcfile [2021/07/25 18:16:32.312868, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.312917, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.313016, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.313112, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.313207, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.313484, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.313519, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.313615, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.313712, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.313806, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.313994, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.314118, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.314222, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.314341, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.314387, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.314585, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.314614, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.314732, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.314828, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.314928, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.315166, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.315196, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.315314, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.315437, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.315559, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.315780, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rw- [2021/07/25 18:16:32.315883, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rw- canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.316098, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 180 to (NT) 12019f [2021/07/25 18:16:32.316194, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.316290, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.316493, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:196(smbd_check_access_rights) smbd_check_access_rights: file srcfile requesting 0x120089 returning 0x120009 (NT_STATUS_OK) [2021/07/25 18:16:32.316625, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1318(check_reduced_name) check_reduced_name: check_reduced_name [srcfile] [/export/vol-1] [2021/07/25 18:16:32.316668, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1382(check_reduced_name) check_reduced_name realpath [srcfile] -> [/export/vol-1/srcfile] [2021/07/25 18:16:32.316782, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1493(check_reduced_name) check_reduced_name: srcfile reduced to /export/vol-1/srcfile [2021/07/25 18:16:32.316957, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/modules/vfs_default.c:694(vfswrap_open) open(srcfile, flags=0x20800, mode=0x1e4) [2021/07/25 18:16:32.316987, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:829(fd_open) fd_open: name srcfile, flags = 04000 mode = 0744, fd = 34. [2021/07/25 18:16:32.317204, 2, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:1458(open_file) lev opened file srcfile read=Yes write=No (numopen=2) [2021/07/25 18:16:32.317237, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.317361, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:32.317546, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008300 [2021/07/25 18:16:32.317576, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd941e60 [2021/07/25 18:16:32.317792, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.317821, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.318015, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1783(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0 [2021/07/25 18:16:32.318043, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1796(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0, writeback=0 [2021/07/25 18:16:32.318151, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.318250, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0xb161bc6b [2021/07/25 18:16:32.318446, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.318475, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.318589, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1783(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0 [2021/07/25 18:16:32.318614, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1796(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0, writeback=0 [2021/07/25 18:16:32.318725, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.318827, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/brlock.c:1901(brl_get_locks_readonly) seqnum=0, fsp->brlock_seqnum=0 [2021/07/25 18:16:32.319100, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.319130, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.319238, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.319331, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.319449, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.319644, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.319686, 3, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock_linux.c:159(linux_set_kernel_oplock) linux_set_kernel_oplock: got kernel oplock on file srcfile, file_id = 64792:131:0 gen_id = 5 [2021/07/25 18:16:32.319798, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock.c:91(set_file_oplock) set_file_oplock: granted oplock 0x3 on file /export/vol-1:srcfile, 64792:131:0/5, tv_sec = 60fd8050, tv_usec = 4a802 [2021/07/25 18:16:32.319904, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:2631(delay_for_oplock) delay_for_oplock: oplock type 0x3 on file srcfile [2021/07/25 18:16:32.320023, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.320123, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.320291, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1426(share_mode_entry_put) share_mode_entry_put: share_mode_entry: [2021/07/25 18:16:32.320318, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) discard_const_p(void, e): struct share_mode_entry pid: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) op_mid : 0x000000000000000f (15) op_type : 0x0003 (3) client_guid : 00000000-0000-0000-0000-000000000000 lease_key: struct smb2_lease_key data: ARRAY(2) data : 0x0000000000000000 (0) data : 0x0000000000000000 (0) access_mask : 0x00120089 (1179785) share_access : 0x00000005 (5) private_options : 0x00000000 (0) time : Sun Jul 25 18:16:32 2021 IDT.305154 share_file_id : 0x0000000000000005 (5) uid : 0x000003f1 (1009) flags : 0x0000 (0) name_hash : 0xb161bc6b (2975972459) stale : 0x00 (0) [2021/07/25 18:16:32.322253, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1554(set_share_mode_fn) set_share_mode_fn: num_share_modes=0 [2021/07/25 18:16:32.322317, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1569(set_share_mode_fn) set_share_mode_fn: idx=0, found=0 [2021/07/25 18:16:32.322426, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1598(set_share_mode_fn) set_share_mode_fn: dbufs[0]=(0x7ffc3d3a2c90, 132) [2021/07/25 18:16:32.322602, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.322724, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:438(share_mode_data_store) share_mode_data_store: [2021/07/25 18:16:32.322760, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x9fee702c2d005d4b (-6922472242186003125) flags : 0x0149 (329) 1: SHARE_MODE_SHARE_DELETE 0: SHARE_MODE_SHARE_WRITE 1: SHARE_MODE_SHARE_READ 0: SHARE_MODE_ACCESS_DELETE 0: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 1: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : 'srcfile' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : Sun Jul 25 16:07:53 2021 IDT changed_write_time : NTTIME(0) fresh : 0x01 (1) modified : 0x01 (1) have_share_modes : 0x01 (1) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000083 (131) extid : 0x0000000000000000 (0) [2021/07/25 18:16:32.325172, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:32.325282, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.325314, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008300 [2021/07/25 18:16:32.325438, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:185(share_mode_memcache_store) share_mode_memcache_store: stored entry for file srcfile seq 9fee702c2d005d4c key 64792:131:0 [2021/07/25 18:16:32.325609, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5770(create_file_unixpath) create_file_unixpath: info=1 [2021/07/25 18:16:32.325636, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:6060(create_file_default) create_file: info=1 [2021/07/25 18:16:32.325735, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1320(smbd_smb2_create_after_exec) smbd_smb2_create_send: response construction phase [2021/07/25 18:16:32.325837, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:779(dos_mode) dos_mode: srcfile [2021/07/25 18:16:32.325930, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): "" [2021/07/25 18:16:32.326030, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode returning (0x80): "" [2021/07/25 18:16:32.326126, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file srcfile [2021/07/25 18:16:32.326330, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.326455, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.326483, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.326577, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.326683, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.326907, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.326941, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.327036, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.327132, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.327219, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.327419, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.327454, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.327638, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.327686, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.327801, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.327911, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.327939, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.328046, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.328134, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.328226, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.328449, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.328481, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.328652, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.328690, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.328923, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.329021, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rw- [2021/07/25 18:16:32.329122, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rw- canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.329426, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 180 to (NT) 12019f [2021/07/25 18:16:32.329456, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.329550, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.329744, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/access_check.c:217(se_access_check) se_access_check: MAX desired = 0x2000000, granted = 0x120089, remaining = 0x120089 [2021/07/25 18:16:32.329869, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file . [2021/07/25 18:16:32.330000, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.330028, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.330136, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.330225, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.330318, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.330541, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.330573, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.330587, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.330695, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.330789, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.330997, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.331107, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.331146, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.331262, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.331438, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.331601, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.331628, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.331721, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.331814, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.331894, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.332072, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.332098, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.332266, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.332376, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.332464, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.332563, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.332665, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.332848, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.332943, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.333022, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.333120, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:196(smbd_check_access_rights) smbd_check_access_rights: file . requesting 0x40 returning 0x40 (NT_STATUS_OK) [2021/07/25 18:16:32.333227, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.333253, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.333354, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 430369A6 [2021/07/25 18:16:32.333375, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8de0e0 [2021/07/25 18:16:32.333556, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store) smbXsrv_open_global_store: key '430369A6' stored [2021/07/25 18:16:32.333585, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &global_blob: struct smbXsrv_open_globalB version : SMBXSRV_VERSION_0 (0) seqnum : 0x00000002 (2) info : union smbXsrv_open_globalU(case 0) info0 : * info0: struct smbXsrv_open_global0 db_rec : * server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0x430369a6 (1124297126) open_persistent_id : 0x00000000430369a6 (1124297126) open_volatile_id : 0x00000000e2ca5a22 (3804912162) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 465a6b83-ecc6-11eb-8298-005056aea65c client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) [2021/07/25 18:16:32.335797, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 430369A6 [2021/07/25 18:16:32.335828, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.336018, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:1034(smbXsrv_open_update) smbXsrv_open_update: global_id (0x430369a6) stored [2021/07/25 18:16:32.336049, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &open_blob: struct smbXsrv_openB version : SMBXSRV_VERSION_0 (0) reserved : 0x00000000 (0) info : union smbXsrv_openU(case 0) info0 : * info0: struct smbXsrv_open table : * db_rec : NULL local_id : 0xe2ca5a22 (3804912162) global : * global: struct smbXsrv_open_global0 db_rec : NULL server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0x430369a6 (1124297126) open_persistent_id : 0x00000000430369a6 (1124297126) open_volatile_id : 0x00000000e2ca5a22 (3804912162) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 465a6b83-ecc6-11eb-8298-005056aea65c client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) status : NT_STATUS_OK idle_time : Sun Jul 25 18:16:32 2021 IDT compat : * flags : 0x02 (2) 0: SMBXSRV_OPEN_NEED_REPLAY_CACHE 1: SMBXSRV_OPEN_HAVE_REPLAY_CACHE create_action : 0x00000000 (0) request_count : 0x0000000000000000 (0) pre_request_count : 0x0000000000000000 (0) [2021/07/25 18:16:32.339383, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1385(smbd_smb2_create_after_exec) smb2_create_send: smbXsrv_open_update returned NT_STATUS_OK [2021/07/25 18:16:32.339484, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1548(smbd_smb2_create_finish) smbd_smb2_create_finish: srcfile - fnum 3804912162 [2021/07/25 18:16:32.339621, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [15] idx[1] status[NT_STATUS_OK] body[88] dyn[yes:88] at ../../source3/smbd/smb2_create.c:405 [2021/07/25 18:16:32.339842, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8162/8192, total granted/max/low/range 31/8192/16/31 [2021/07/25 18:16:32.340410, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 13 vectors [2021/07/25 18:16:32.340446, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 16 (position 16) from bitmap [2021/07/25 18:16:32.340564, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 17 (position 17) from bitmap [2021/07/25 18:16:32.340766, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 18 (position 18) from bitmap [2021/07/25 18:16:32.340868, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 16 [2021/07/25 18:16:32.340979, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.341087, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.341235, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 16, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.341332, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_getinfo.c:277(smbd_smb2_getinfo_send) smbd_smb2_getinfo_send: srcfile - fnum 3804912162 [2021/07/25 18:16:32.341565, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:362(share_mode_memcache_fetch) share_mode_memcache_fetch: fetched entry for file srcfile seq 9fee702c2d005d4c key 64792:131:0 [2021/07/25 18:16:32.341596, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0xb161bc6b [2021/07/25 18:16:32.341724, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:5198(smbd_do_qfilepathinfo) smbd_do_qfilepathinfo: srcfile (fnum 3804912162) level=1007 max_data=16384 [2021/07/25 18:16:32.341817, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:779(dos_mode) dos_mode: srcfile [2021/07/25 18:16:32.341924, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): "" [2021/07/25 18:16:32.342018, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode returning (0x80): "" [2021/07/25 18:16:32.342192, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:5482(smbd_do_qfilepathinfo) smbd_do_qfilepathinfo: SMB_FILE_EA_INFORMATION [2021/07/25 18:16:32.342226, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [16] idx[1] status[NT_STATUS_OK] body[8] dyn[yes:4] at ../../source3/smbd/smb2_getinfo.c:206 [2021/07/25 18:16:32.342537, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3155(smbd_smb2_request_dispatch_immediate) smbd_smb2_request_dispatch_immediate: idx[5] of 13 vectors 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 = 40 req->in.vector[4].iov_len = 0 req->in.vector[5].iov_len = 0 req->in.vector[6].iov_len = 64 req->in.vector[7].iov_len = 40 req->in.vector[8].iov_len = 0 req->in.vector[9].iov_len = 0 req->in.vector[10].iov_len = 64 req->in.vector[11].iov_len = 40 req->in.vector[12].iov_len = 0 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 = 8 req->out.vector[5].iov_len = 0 req->out.vector[6].iov_len = 64 req->out.vector[7].iov_len = 8 req->out.vector[8].iov_len = 0 req->out.vector[9].iov_len = 0 req->out.vector[10].iov_len = 64 req->out.vector[11].iov_len = 8 req->out.vector[12].iov_len = 0 [2021/07/25 18:16:32.343217, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 17 [2021/07/25 18:16:32.343249, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.343440, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.343685, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 17, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.343789, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_getinfo.c:277(smbd_smb2_getinfo_send) smbd_smb2_getinfo_send: srcfile - fnum 3804912162 [2021/07/25 18:16:32.343963, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:312(share_mode_memcache_fetch) share_mode_memcache_fetch: failed to find entry for key 64792:131:0 [2021/07/25 18:16:32.344081, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:403(parse_share_modes) parse_share_modes: [2021/07/25 18:16:32.344109, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x9fee702c2d005d4c (-6922472242186003124) flags : 0x0149 (329) 1: SHARE_MODE_SHARE_DELETE 0: SHARE_MODE_SHARE_WRITE 1: SHARE_MODE_SHARE_READ 0: SHARE_MODE_ACCESS_DELETE 0: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 1: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : 'srcfile' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : Sun Jul 25 16:07:53 2021 IDT changed_write_time : NTTIME(0) fresh : 0x00 (0) modified : 0x00 (0) have_share_modes : 0x00 (0) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000083 (131) extid : 0x0000000000000000 (0) [2021/07/25 18:16:32.346019, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0xb161bc6b [2021/07/25 18:16:32.346122, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:5198(smbd_do_qfilepathinfo) smbd_do_qfilepathinfo: srcfile (fnum 3804912162) level=1022 max_data=16384 [2021/07/25 18:16:32.346217, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:779(dos_mode) dos_mode: srcfile [2021/07/25 18:16:32.346318, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): "" [2021/07/25 18:16:32.346418, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode returning (0x80): "" [2021/07/25 18:16:32.346580, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:5744(smbd_do_qfilepathinfo) smbd_do_qfilepathinfo: SMB_FILE_STREAM_INFORMATION [2021/07/25 18:16:32.346692, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:4916(marshall_stream_info) max_data: 16384, data_size: 38 [2021/07/25 18:16:32.346792, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [17] idx[5] status[NT_STATUS_OK] body[8] dyn[yes:38] at ../../source3/smbd/smb2_getinfo.c:206 [2021/07/25 18:16:32.347002, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3155(smbd_smb2_request_dispatch_immediate) smbd_smb2_request_dispatch_immediate: idx[9] of 13 vectors 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 = 40 req->in.vector[4].iov_len = 0 req->in.vector[5].iov_len = 0 req->in.vector[6].iov_len = 64 req->in.vector[7].iov_len = 40 req->in.vector[8].iov_len = 0 req->in.vector[9].iov_len = 0 req->in.vector[10].iov_len = 64 req->in.vector[11].iov_len = 40 req->in.vector[12].iov_len = 0 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 = 8 req->out.vector[5].iov_len = 0 req->out.vector[6].iov_len = 64 req->out.vector[7].iov_len = 8 req->out.vector[8].iov_len = 40 req->out.vector[9].iov_len = 0 req->out.vector[10].iov_len = 64 req->out.vector[11].iov_len = 8 req->out.vector[12].iov_len = 0 [2021/07/25 18:16:32.347609, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 18 [2021/07/25 18:16:32.347712, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.347888, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.348118, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 18, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.348212, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_getinfo.c:277(smbd_smb2_getinfo_send) smbd_smb2_getinfo_send: srcfile - fnum 3804912162 [2021/07/25 18:16:32.348392, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3475(posix_fget_nt_acl) posix_fget_nt_acl: called for file srcfile [2021/07/25 18:16:32.348733, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.348764, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.348862, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.348960, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.349053, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.349262, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.349403, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.349491, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.349586, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.349681, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.349796, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.349900, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.349932, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.350098, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.350131, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.350316, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.350356, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.350463, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.350559, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.350654, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.350949, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.350979, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.351100, 3, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/nttrans.c:2065(smbd_do_query_security_desc) smbd_do_query_security_desc: sd_size = 20. [2021/07/25 18:16:32.351189, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/nttrans.c:2069(smbd_do_query_security_desc) smbd_do_query_security_desc for file srcfile [2021/07/25 18:16:32.351284, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) psd: struct security_descriptor revision : SECURITY_DESCRIPTOR_REVISION_1 (1) type : 0x9000 (36864) 0: SEC_DESC_OWNER_DEFAULTED 0: SEC_DESC_GROUP_DEFAULTED 0: SEC_DESC_DACL_PRESENT 0: SEC_DESC_DACL_DEFAULTED 0: SEC_DESC_SACL_PRESENT 0: SEC_DESC_SACL_DEFAULTED 0: SEC_DESC_DACL_TRUSTED 0: SEC_DESC_SERVER_SECURITY 0: SEC_DESC_DACL_AUTO_INHERIT_REQ 0: SEC_DESC_SACL_AUTO_INHERIT_REQ 0: SEC_DESC_DACL_AUTO_INHERITED 0: SEC_DESC_SACL_AUTO_INHERITED 1: SEC_DESC_DACL_PROTECTED 0: SEC_DESC_SACL_PROTECTED 0: SEC_DESC_RM_CONTROL_VALID 1: SEC_DESC_SELF_RELATIVE owner_sid : NULL group_sid : NULL sacl : NULL dacl : NULL [2021/07/25 18:16:32.352827, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [18] idx[9] status[NT_STATUS_OK] body[8] dyn[yes:20] at ../../source3/smbd/smb2_getinfo.c:206 [2021/07/25 18:16:32.352982, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8164/8192, total granted/max/low/range 29/8192/19/29 [2021/07/25 18:16:32.353077, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8163/8192, total granted/max/low/range 30/8192/19/30 [2021/07/25 18:16:32.353183, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8162/8192, total granted/max/low/range 31/8192/19/31 [2021/07/25 18:16:32.354054, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 5 vectors [2021/07/25 18:16:32.354096, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 19 (position 19) from bitmap [2021/07/25 18:16:32.354209, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 19 [2021/07/25 18:16:32.354316, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.354537, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.354775, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:706(smbd_smb2_create_send) smbd_smb2_create_send: name [dstfile] [2021/07/25 18:16:32.354886, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:811(smbd_smb2_create_send) smbd_smb2_create_send: open execution phase [2021/07/25 18:16:32.354917, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:481(unix_convert) unix_convert called on file "dstfile" [2021/07/25 18:16:32.355102, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/statcache.c:245(stat_cache_lookup) stat_cache_lookup: lookup failed for name [DSTFILE] [2021/07/25 18:16:32.355133, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:682(unix_convert) unix_convert begin: name = dstfile, dirpath = ., start = dstfile [2021/07/25 18:16:32.355295, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/filename.c:705(unix_convert) conversion of base_name finished dstfile -> dstfile [2021/07/25 18:16:32.355324, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/util.c:909(is_in_path) is_in_path: dstfile [2021/07/25 18:16:32.355444, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/util.c:933(is_in_path) is_in_path: match not found [2021/07/25 18:16:32.355533, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1318(check_reduced_name) check_reduced_name: check_reduced_name [dstfile] [/export/vol-1] [2021/07/25 18:16:32.355710, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1382(check_reduced_name) check_reduced_name realpath [dstfile] -> [/export/vol-1/dstfile] [2021/07/25 18:16:32.355739, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1493(check_reduced_name) check_reduced_name: dstfile reduced to /export/vol-1/dstfile [2021/07/25 18:16:32.355834, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5963(create_file_default) create_file_default: create_file: access_mask = 0x17019f file_attributes = 0x80, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x2 private_flags = 0x0 root_dir_fid = 0x0, ea_list = (nil), sd = (nil), fname = dstfile [2021/07/25 18:16:32.356019, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5410(create_file_unixpath) create_file_unixpath: create_file_unixpath: access_mask = 0x17019f file_attributes = 0x80, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x2 private_flags = 0x0 ea_list = (nil), sd = (nil), fname = dstfile [2021/07/25 18:16:32.356226, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.356255, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.356461, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key C6558FAE [2021/07/25 18:16:32.356489, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd941320 [2021/07/25 18:16:32.356582, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record) smbXsrv_open_global_verify_record: empty value [2021/07/25 18:16:32.356769, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store) smbXsrv_open_global_store: key 'C6558FAE' stored [2021/07/25 18:16:32.356797, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &global_blob: struct smbXsrv_open_globalB version : SMBXSRV_VERSION_0 (0) seqnum : 0x00000001 (1) info : union smbXsrv_open_globalU(case 0) info0 : * info0: struct smbXsrv_open_global0 db_rec : * server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0xc6558fae (3327496110) open_persistent_id : 0x00000000c6558fae (3327496110) open_volatile_id : 0x000000007fec2f59 (2146185049) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) [2021/07/25 18:16:32.358911, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key C6558FAE [2021/07/25 18:16:32.358942, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.359039, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:910(smbXsrv_open_create) smbXsrv_open_create: global_id (0xc6558fae) stored [2021/07/25 18:16:32.359131, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &open_blob: struct smbXsrv_openB version : SMBXSRV_VERSION_0 (0) reserved : 0x00000000 (0) info : union smbXsrv_openU(case 0) info0 : * info0: struct smbXsrv_open table : * db_rec : NULL local_id : 0x7fec2f59 (2146185049) global : * global: struct smbXsrv_open_global0 db_rec : NULL server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0xc6558fae (3327496110) open_persistent_id : 0x00000000c6558fae (3327496110) open_volatile_id : 0x000000007fec2f59 (2146185049) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 00000000-0000-0000-0000-000000000000 client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) status : NT_STATUS_OK idle_time : Sun Jul 25 18:16:32 2021 IDT compat : NULL flags : 0x00 (0) 0: SMBXSRV_OPEN_NEED_REPLAY_CACHE 0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE create_action : 0x00000000 (0) request_count : 0x0000000000000000 (0) pre_request_count : 0x0000000000000000 (0) [2021/07/25 18:16:32.362721, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:150(file_new) allocated file structure fnum 2146185049 (3 used) [2021/07/25 18:16:32.362756, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:756(file_name_hash) file_name_hash: /export/vol-1/dstfile hash 0x6e32f9bf [2021/07/25 18:16:32.362853, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:208(unix_mode) unix_mode: unix_mode(dstfile) returning 0744 [2021/07/25 18:16:32.362950, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3403(open_file_ntcreate) open_file_ntcreate: fname=dstfile, dos_attrs=0x80 access_mask=0x17019f share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=2 private_flags = 0x0 [2021/07/25 18:16:32.363128, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:2981(open_match_attributes) open_match_attributes: old_dos_attr = 0x0, new_dos_attr = 0x0 returned_unx_mode = 00 [2021/07/25 18:16:32.363158, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3584(open_file_ntcreate) open_file_ntcreate: fname=dstfile, after mapping access_mask=0x17019f [2021/07/25 18:16:32.363249, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:3686(open_file_ntcreate) calling open_file with flags=0x2 flags2=0xA40 mode=0744, access_mask = 0x17019f, open_access_mask = 0x17019f [2021/07/25 18:16:32.363431, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file dstfile [2021/07/25 18:16:32.363577, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1174(xid_to_sid) xid_to_sid: UID 1009 -> S-1-5-21-1323002292-1883568840-1411922520-1000 from cache [2021/07/25 18:16:32.363699, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.363728, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.363843, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.363930, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.364032, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.364243, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.364294, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 1009 -> S-1-22-2-1009 fallback [2021/07/25 18:16:32.364537, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.364737, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.364887, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-1009 gid 1009 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.364999, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-5-21-1323002292-1883568840-1411922520-1000 uid 1009 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.365238, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-5-21-1323002292-1883568840-1411922520-1000 uid 1009 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-1009 gid 1009 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.365524, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff [2021/07/25 18:16:32.365619, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.365729, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.365906, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:196(smbd_check_access_rights) smbd_check_access_rights: file dstfile requesting 0x17019f returning 0x10000 (NT_STATUS_ACCESS_DENIED) [2021/07/25 18:16:32.366024, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:201(smbd_check_access_rights) smbd_check_access_rights: acl for dstfile is: [2021/07/25 18:16:32.366597, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) sd: struct security_descriptor revision : SECURITY_DESCRIPTOR_REVISION_1 (1) type : 0x9004 (36868) 0: SEC_DESC_OWNER_DEFAULTED 0: SEC_DESC_GROUP_DEFAULTED 1: SEC_DESC_DACL_PRESENT 0: SEC_DESC_DACL_DEFAULTED 0: SEC_DESC_SACL_PRESENT 0: SEC_DESC_SACL_DEFAULTED 0: SEC_DESC_DACL_TRUSTED 0: SEC_DESC_SERVER_SECURITY 0: SEC_DESC_DACL_AUTO_INHERIT_REQ 0: SEC_DESC_SACL_AUTO_INHERIT_REQ 0: SEC_DESC_DACL_AUTO_INHERITED 0: SEC_DESC_SACL_AUTO_INHERITED 1: SEC_DESC_DACL_PROTECTED 0: SEC_DESC_SACL_PROTECTED 0: SEC_DESC_RM_CONTROL_VALID 1: SEC_DESC_SELF_RELATIVE owner_sid : * owner_sid : S-1-5-21-1323002292-1883568840-1411922520-1000 group_sid : * group_sid : S-1-22-2-1009 sacl : NULL dacl : * dacl: struct security_acl revision : SECURITY_ACL_REVISION_NT4 (2) size : 0x0058 (88) num_aces : 0x00000003 (3) aces: ARRAY(3) aces: struct security_ace type : SEC_ACE_TYPE_ACCESS_ALLOWED (0) flags : 0x00 (0) 0: SEC_ACE_FLAG_OBJECT_INHERIT 0: SEC_ACE_FLAG_CONTAINER_INHERIT 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT 0: SEC_ACE_FLAG_INHERIT_ONLY 0: SEC_ACE_FLAG_INHERITED_ACE 0x00: SEC_ACE_FLAG_VALID_INHERIT (0) 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS 0: SEC_ACE_FLAG_FAILED_ACCESS size : 0x0024 (36) access_mask : 0x001e01ff (1966591) object : union security_ace_object_ctr(case 0) trustee : S-1-5-21-1323002292-1883568840-1411922520-1000 aces: struct security_ace type : SEC_ACE_TYPE_ACCESS_ALLOWED (0) flags : 0x00 (0) 0: SEC_ACE_FLAG_OBJECT_INHERIT 0: SEC_ACE_FLAG_CONTAINER_INHERIT 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT 0: SEC_ACE_FLAG_INHERIT_ONLY 0: SEC_ACE_FLAG_INHERITED_ACE 0x00: SEC_ACE_FLAG_VALID_INHERIT (0) 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS 0: SEC_ACE_FLAG_FAILED_ACCESS size : 0x0018 (24) access_mask : 0x00120089 (1179785) object : union security_ace_object_ctr(case 0) trustee : S-1-22-2-1009 aces: struct security_ace type : SEC_ACE_TYPE_ACCESS_ALLOWED (0) flags : 0x00 (0) 0: SEC_ACE_FLAG_OBJECT_INHERIT 0: SEC_ACE_FLAG_CONTAINER_INHERIT 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT 0: SEC_ACE_FLAG_INHERIT_ONLY 0: SEC_ACE_FLAG_INHERITED_ACE 0x00: SEC_ACE_FLAG_VALID_INHERIT (0) 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS 0: SEC_ACE_FLAG_FAILED_ACCESS size : 0x0014 (20) access_mask : 0x00120089 (1179785) object : union security_ace_object_ctr(case 0) trustee : S-1-1-0 [2021/07/25 18:16:32.375922, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file . [2021/07/25 18:16:32.376078, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.376109, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.376204, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.376301, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.376417, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.376645, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.376705, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.376826, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.376915, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.377011, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.377197, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.377232, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.377333, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.377517, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.377552, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.377746, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.377775, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.377881, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.377983, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.378075, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.378263, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.378294, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.378403, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.378500, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.378594, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.378701, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.378802, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.379013, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.379110, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.379197, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.379388, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:196(smbd_check_access_rights) smbd_check_access_rights: file . requesting 0x40 returning 0x40 (NT_STATUS_OK) [2021/07/25 18:16:32.379421, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:251(smbd_check_access_rights) smbd_check_access_rights: overrode DELETE_ACCESS on file dstfile [2021/07/25 18:16:32.379621, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1318(check_reduced_name) check_reduced_name: check_reduced_name [dstfile] [/export/vol-1] [2021/07/25 18:16:32.379753, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1382(check_reduced_name) check_reduced_name realpath [dstfile] -> [/export/vol-1/dstfile] [2021/07/25 18:16:32.379781, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:1493(check_reduced_name) check_reduced_name: dstfile reduced to /export/vol-1/dstfile [2021/07/25 18:16:32.379946, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/modules/vfs_default.c:694(vfswrap_open) open(dstfile, flags=0x20802, mode=0x1e4) [2021/07/25 18:16:32.379977, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:829(fd_open) fd_open: name dstfile, flags = 04002 mode = 0744, fd = 39. [2021/07/25 18:16:32.380156, 2, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:1458(open_file) lev opened file dstfile read=Yes write=Yes (numopen=3) [2021/07/25 18:16:32.380190, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.380280, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:32.380458, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008400 [2021/07/25 18:16:32.380490, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd941e60 [2021/07/25 18:16:32.380668, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.380696, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.380938, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1783(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0 [2021/07/25 18:16:32.380965, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1796(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0, writeback=0 [2021/07/25 18:16:32.381054, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.381161, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0x6e32f9bf [2021/07/25 18:16:32.381252, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.381367, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.381532, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1783(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0 [2021/07/25 18:16:32.381561, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1796(share_mode_forall_entries_fn) share_mode_forall_entries_fn: num_share_modes=0, writeback=0 [2021/07/25 18:16:32.381666, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.381764, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/brlock.c:1901(brl_get_locks_readonly) seqnum=0, fsp->brlock_seqnum=0 [2021/07/25 18:16:32.381936, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.381965, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.382062, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.382156, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.382243, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.382434, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.382464, 3, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock_linux.c:159(linux_set_kernel_oplock) linux_set_kernel_oplock: got kernel oplock on file dstfile, file_id = 64792:132:0 gen_id = 6 [2021/07/25 18:16:32.382576, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock.c:91(set_file_oplock) set_file_oplock: granted oplock 0x3 on file /export/vol-1:dstfile, 64792:132:0/6, tv_sec = 60fd8050, tv_usec = 56f77 [2021/07/25 18:16:32.382688, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:2631(delay_for_oplock) delay_for_oplock: oplock type 0x3 on file dstfile [2021/07/25 18:16:32.382807, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.382898, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:32.383058, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1426(share_mode_entry_put) share_mode_entry_put: share_mode_entry: [2021/07/25 18:16:32.383085, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) discard_const_p(void, e): struct share_mode_entry pid: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) op_mid : 0x0000000000000013 (19) op_type : 0x0003 (3) client_guid : 00000000-0000-0000-0000-000000000000 lease_key: struct smb2_lease_key data: ARRAY(2) data : 0x0000000000000000 (0) data : 0x0000000000000000 (0) access_mask : 0x0017019f (1507743) share_access : 0x00000000 (0) private_options : 0x00000000 (0) time : Sun Jul 25 18:16:32 2021 IDT.356215 share_file_id : 0x0000000000000006 (6) uid : 0x000003f1 (1009) flags : 0x0000 (0) name_hash : 0x6e32f9bf (1848834495) stale : 0x00 (0) [2021/07/25 18:16:32.385093, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1554(set_share_mode_fn) set_share_mode_fn: num_share_modes=0 [2021/07/25 18:16:32.385124, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1569(set_share_mode_fn) set_share_mode_fn: idx=0, found=0 [2021/07/25 18:16:32.385229, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1598(set_share_mode_fn) set_share_mode_fn: dbufs[0]=(0x7ffc3d3a2c90, 132) [2021/07/25 18:16:32.385338, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:32.392720, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/notify_msg.c:217(notify_trigger) notify_trigger called action=0x3, filter=0xc, dir=/export/vol-1, name=dstfile [2021/07/25 18:16:32.392884, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.392914, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.393004, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.393099, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.393227, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.393394, 10, pid=6466, effective(0, 0), real(0, 0)] ../../source3/lib/messages_dgm.c:1444(messaging_dgm_send) messaging_dgm_send: Sending message to 1464 [2021/07/25 18:16:32.393994, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.394156, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/close.c:175(delete_all_streams) delete_all_streams found 1 streams [2021/07/25 18:16:32.394261, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:779(dos_mode) dos_mode: dstfile [2021/07/25 18:16:32.394291, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a" [2021/07/25 18:16:32.394407, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode returning (0x20): "a" [2021/07/25 18:16:32.394509, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:972(file_set_dosmode) file_set_dosmode: setting dos mode 0x20 on file dstfile [2021/07/25 18:16:32.394701, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:208(unix_mode) unix_mode: unix_mode(dstfile) returning 0744 [2021/07/25 18:16:32.395991, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:438(share_mode_data_store) share_mode_data_store: [2021/07/25 18:16:32.396025, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x0760a04623bc0a08 (531600979137399304) flags : 0x0039 (57) 0: SHARE_MODE_SHARE_DELETE 0: SHARE_MODE_SHARE_WRITE 0: SHARE_MODE_SHARE_READ 1: SHARE_MODE_ACCESS_DELETE 1: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 1: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : 'dstfile' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : Sun Jul 25 18:09:04 2021 IDT changed_write_time : NTTIME(0) fresh : 0x01 (1) modified : 0x01 (1) have_share_modes : 0x01 (1) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000084 (132) extid : 0x0000000000000000 (0) [2021/07/25 18:16:32.398028, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:32.398070, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.398166, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008400 [2021/07/25 18:16:32.398260, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:185(share_mode_memcache_store) share_mode_memcache_store: stored entry for file dstfile seq 760a04623bc0a09 key 64792:132:0 [2021/07/25 18:16:32.398371, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:5770(create_file_unixpath) create_file_unixpath: info=3 [2021/07/25 18:16:32.398477, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:6060(create_file_default) create_file: info=3 [2021/07/25 18:16:32.398604, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1320(smbd_smb2_create_after_exec) smbd_smb2_create_send: response construction phase [2021/07/25 18:16:32.398716, 8, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:779(dos_mode) dos_mode: dstfile [2021/07/25 18:16:32.398809, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a" [2021/07/25 18:16:32.398896, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:72(dos_mode_debug_print) dos_mode_debug_print: dos_mode returning (0x20): "a" [2021/07/25 18:16:32.399033, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file dstfile [2021/07/25 18:16:32.399212, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1174(xid_to_sid) xid_to_sid: UID 1009 -> S-1-5-21-1323002292-1883568840-1411922520-1000 from cache [2021/07/25 18:16:32.399257, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.399399, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.399533, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.399720, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.399747, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.400036, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.400066, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 1009 -> S-1-22-2-1009 fallback [2021/07/25 18:16:32.400226, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.400315, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.400488, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-1009 gid 1009 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.400511, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-5-21-1323002292-1883568840-1411922520-1000 uid 1009 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.400655, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-5-21-1323002292-1883568840-1411922520-1000 uid 1009 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-1009 gid 1009 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-- canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-- [2021/07/25 18:16:32.400849, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff [2021/07/25 18:16:32.400940, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.401025, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089 [2021/07/25 18:16:32.401130, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/access_check.c:217(se_access_check) se_access_check: MAX desired = 0x2000000, granted = 0x1e01ff, remaining = 0x1e01ff [2021/07/25 18:16:32.401231, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:3520(posix_get_nt_acl) posix_get_nt_acl: called for file . [2021/07/25 18:16:32.401444, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.401472, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.401579, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.401674, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.401690, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.401949, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.401981, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 1 [2021/07/25 18:16:32.402118, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2021/07/25 18:16:32.402220, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.402315, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.402556, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_tdb.c:600(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root [2021/07/25 18:16:32.402592, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.402704, 5, pid=6466, effective(0, 0), real(0, 0), class=passdb] ../../source3/passdb/pdb_interface.c:1425(pdb_default_uid_to_sid) pdb_default_uid_to_sid: Did not find user root (0) [2021/07/25 18:16:32.402728, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.402821, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: UID 0 -> S-1-22-1-0 fallback [2021/07/25 18:16:32.402978, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.403006, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:32.403130, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:32.403147, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:32.403226, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:32.403464, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:32.403492, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/passdb/lookup_sid.c:1229(xid_to_sid) xid_to_sid: GID 0 -> S-1-22-2-0 fallback [2021/07/25 18:16:32.403628, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2763(canonicalise_acl) canonicalise_acl: Access ace entries before arrange : [2021/07/25 18:16:32.403719, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.403803, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.403899, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:2776(canonicalise_acl) canon_ace index 2. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.403983, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:848(print_canon_ace_list) print_canon_ace_list: canonicalise_acl: ace entries after arrange canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx [2021/07/25 18:16:32.404291, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.404326, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.404352, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=acls] ../../source3/smbd/posix_acls.c:1112(map_canon_ace_perms) map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff [2021/07/25 18:16:32.404463, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/open.c:196(smbd_check_access_rights) smbd_check_access_rights: file . requesting 0x40 returning 0x40 (NT_STATUS_OK) [2021/07/25 18:16:32.404500, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.404580, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:32.404722, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key C6558FAE [2021/07/25 18:16:32.404744, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8ddf60 [2021/07/25 18:16:32.404909, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store) smbXsrv_open_global_store: key 'C6558FAE' stored [2021/07/25 18:16:32.404938, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &global_blob: struct smbXsrv_open_globalB version : SMBXSRV_VERSION_0 (0) seqnum : 0x00000002 (2) info : union smbXsrv_open_globalU(case 0) info0 : * info0: struct smbXsrv_open_global0 db_rec : * server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0xc6558fae (3327496110) open_persistent_id : 0x00000000c6558fae (3327496110) open_volatile_id : 0x000000007fec2f59 (2146185049) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 465a6b84-ecc6-11eb-8298-005056aea65c client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) [2021/07/25 18:16:32.406753, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key C6558FAE [2021/07/25 18:16:32.406860, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:32.406980, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/smbXsrv_open.c:1034(smbXsrv_open_update) smbXsrv_open_update: global_id (0xc6558fae) stored [2021/07/25 18:16:32.407089, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) &open_blob: struct smbXsrv_openB version : SMBXSRV_VERSION_0 (0) reserved : 0x00000000 (0) info : union smbXsrv_openU(case 0) info0 : * info0: struct smbXsrv_open table : * db_rec : NULL local_id : 0x7fec2f59 (2146185049) global : * global: struct smbXsrv_open_global0 db_rec : NULL server_id: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) open_global_id : 0xc6558fae (3327496110) open_persistent_id : 0x00000000c6558fae (3327496110) open_volatile_id : 0x000000007fec2f59 (2146185049) open_owner : S-1-5-21-1323002292-1883568840-1411922520-1000 open_time : Sun Jul 25 18:16:32 2021 IDT create_guid : 465a6b84-ecc6-11eb-8298-005056aea65c client_guid : 465a6a25-ecc6-11eb-8298-005056aea65c app_instance_id : 00000000-0000-0000-0000-000000000000 disconnect_time : NTTIME(0) durable_timeout_msec : 0x00000000 (0) durable : 0x00 (0) backend_cookie : DATA_BLOB length=0 channel_sequence : 0x0000 (0) channel_generation : 0x0000000000000000 (0) status : NT_STATUS_OK idle_time : Sun Jul 25 18:16:32 2021 IDT compat : * flags : 0x02 (2) 0: SMBXSRV_OPEN_NEED_REPLAY_CACHE 1: SMBXSRV_OPEN_HAVE_REPLAY_CACHE create_action : 0x00000000 (0) request_count : 0x0000000000000000 (0) pre_request_count : 0x0000000000000000 (0) [2021/07/25 18:16:32.409896, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1385(smbd_smb2_create_after_exec) smb2_create_send: smbXsrv_open_update returned NT_STATUS_OK [2021/07/25 18:16:32.410008, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_create.c:1548(smbd_smb2_create_finish) smbd_smb2_create_finish: dstfile - fnum 2146185049 [2021/07/25 18:16:32.410181, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [19] idx[1] status[NT_STATUS_OK] body[88] dyn[yes:88] at ../../source3/smbd/smb2_create.c:405 [2021/07/25 18:16:32.410381, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 97, charge 1, granted 97, current possible/max 8162/8192, total granted/max/low/range 127/8192/20/127 [2021/07/25 18:16:32.411059, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 9 vectors [2021/07/25 18:16:32.411093, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 20 (position 20) from bitmap [2021/07/25 18:16:32.411242, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 21 (position 21) from bitmap [2021/07/25 18:16:32.411422, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 20 [2021/07/25 18:16:32.411538, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.411641, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.411876, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 20, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.412035, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_getinfo.c:277(smbd_smb2_getinfo_send) smbd_smb2_getinfo_send: dstfile - fnum 2146185049 [2021/07/25 18:16:32.412199, 3, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:3610(smbd_do_qfsinfo) smbd_do_qfsinfo: level = 1001 [2021/07/25 18:16:32.412322, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:3786(smbd_do_qfsinfo) smbd_do_qfsinfo : SMB_QUERY_FS_VOLUME_INFO namelen = 5, vol=vol-1 serv=vol-1 [2021/07/25 18:16:32.412370, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [20] idx[1] status[NT_STATUS_OK] body[8] dyn[yes:28] at ../../source3/smbd/smb2_getinfo.c:206 [2021/07/25 18:16:32.412621, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3155(smbd_smb2_request_dispatch_immediate) smbd_smb2_request_dispatch_immediate: idx[5] of 9 vectors 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 = 40 req->in.vector[4].iov_len = 8 req->in.vector[5].iov_len = 0 req->in.vector[6].iov_len = 64 req->in.vector[7].iov_len = 40 req->in.vector[8].iov_len = 1 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 = 32 req->out.vector[5].iov_len = 0 req->out.vector[6].iov_len = 64 req->out.vector[7].iov_len = 8 req->out.vector[8].iov_len = 0 [2021/07/25 18:16:32.412779, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 21 [2021/07/25 18:16:32.412891, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.413056, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.413395, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 21, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.413558, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_getinfo.c:277(smbd_smb2_getinfo_send) smbd_smb2_getinfo_send: dstfile - fnum 2146185049 [2021/07/25 18:16:32.413669, 3, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:3610(smbd_do_qfsinfo) smbd_do_qfsinfo: level = 1005 [2021/07/25 18:16:32.413845, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [21] idx[5] status[NT_STATUS_OK] body[8] dyn[yes:20] at ../../source3/smbd/smb2_getinfo.c:206 [2021/07/25 18:16:32.414020, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8067/8192, total granted/max/low/range 126/8192/22/126 [2021/07/25 18:16:32.414052, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8066/8192, total granted/max/low/range 127/8192/22/127 [2021/07/25 18:16:32.416756, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 5 vectors [2021/07/25 18:16:32.416790, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 22 (position 22) from bitmap [2021/07/25 18:16:32.416807, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_IOCTL] mid = 22 [2021/07/25 18:16:32.416949, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.417108, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.417357, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 22, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.417404, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_ioctl.c:397(smbd_smb2_ioctl_send) smbd_smb2_ioctl: ctl_code[0x00140078] srcfile, fnum 3804912162 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 = 56 req->in.vector[4].iov_len = 0 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 [2021/07/25 18:16:32.417736, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_ioctl.c:294(smbd_smb2_request_ioctl_done) smbd_smb2_request_ioctl_done: smbd_smb2_ioctl_recv returned 32 status NT_STATUS_OK [2021/07/25 18:16:32.417765, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [22] idx[1] status[NT_STATUS_OK] body[48] dyn[yes:32] at ../../source3/smbd/smb2_ioctl.c:361 [2021/07/25 18:16:32.417987, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8066/8192, total granted/max/low/range 127/8192/23/127 [2021/07/25 18:16:32.418377, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 5 vectors [2021/07/25 18:16:32.418407, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 23 (position 23) from bitmap [2021/07/25 18:16:32.418424, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_SETINFO] mid = 23 [2021/07/25 18:16:32.418519, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.418613, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.418808, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 23, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.418903, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_setinfo.c:390(smbd_smb2_setinfo_send) smbd_smb2_setinfo_send: dstfile - fnum 2146185049 [2021/07/25 18:16:32.418991, 3, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:8903(smbd_do_setfilepathinfo) smbd_do_setfilepathinfo: dstfile (fnum 2146185049) info_level=1020 totdata=8 [2021/07/25 18:16:32.419094, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:8009(smb_set_file_end_of_file_info) smb_set_file_end_of_file_info: Set end of file info for file dstfile to 512 [2021/07/25 18:16:32.419225, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:6675(smb_set_file_size) smb_set_file_size: size: 512, file_size_stat=0 [2021/07/25 18:16:32.419327, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:6689(smb_set_file_size) smb_set_file_size: file dstfile : setting new size to 512 [2021/07/25 18:16:32.419470, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:632(vfs_set_filelen) vfs_set_filelen: ftruncate dstfile to len 512 [2021/07/25 18:16:32.420696, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/notify_msg.c:217(notify_trigger) notify_trigger called action=0x3, filter=0xc, dir=/export/vol-1, name=dstfile [2021/07/25 18:16:32.420735, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/messages_dgm.c:1444(messaging_dgm_send) messaging_dgm_send: Sending message to 1464 [2021/07/25 18:16:32.421208, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/fileio.c:208(trigger_write_time_update_immediate) Update write time immediate on dstfile [2021/07/25 18:16:32.421298, 5, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:1029(set_write_time) set_write_time: 2021/07/25 18:16:32.421297246 id=64792:132:0 [2021/07/25 18:16:32.421445, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.421460, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:32.421603, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008400 [2021/07/25 18:16:32.421708, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8a20a0 [2021/07/25 18:16:32.421801, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:362(share_mode_memcache_fetch) share_mode_memcache_fetch: fetched entry for file dstfile seq 760a04623bc0a09 key 64792:132:0 [2021/07/25 18:16:32.421896, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:438(share_mode_data_store) share_mode_data_store: [2021/07/25 18:16:32.422016, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x0760a04623bc0a09 (531600979137399305) flags : 0x0039 (57) 0: SHARE_MODE_SHARE_DELETE 0: SHARE_MODE_SHARE_WRITE 0: SHARE_MODE_SHARE_READ 1: SHARE_MODE_ACCESS_DELETE 1: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 1: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : 'dstfile' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : Sun Jul 25 18:16:32 2021 IDT changed_write_time : NTTIME(0) fresh : 0x00 (0) modified : 0x01 (1) have_share_modes : 0x01 (1) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000084 (132) extid : 0x0000000000000000 (0) [2021/07/25 18:16:32.423479, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:32.423539, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:32.423648, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008400 [2021/07/25 18:16:32.423756, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:185(share_mode_memcache_store) share_mode_memcache_store: stored entry for file dstfile seq 760a04623bc0a0a key 64792:132:0 [2021/07/25 18:16:32.423857, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/trans2.c:6543(smb_set_file_time) smb_set_file_time: smb_set_filetime: actime: SAMBA_UTIME_OMIT smb_set_file_time: smb_set_filetime: modtime: 2021/07/25 18:16:32.421297246 smb_set_file_time: smb_set_filetime: ctime: SAMBA_UTIME_OMIT smb_set_file_time: smb_set_file_time: createtime: SAMBA_UTIME_OMIT smb_set_file_time: setting utimes to modified values. [2021/07/25 18:16:32.424060, 6, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:1218(file_ntimes) file_ntime: actime: Thu Jan 1 02:00:01 1970 [2021/07/25 18:16:32.424226, 6, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:1220(file_ntimes) file_ntime: modtime: Sun Jul 25 18:16:32 2021 [2021/07/25 18:16:32.424372, 6, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:1222(file_ntimes) file_ntime: ctime: Thu Jan 1 02:00:01 1970 [2021/07/25 18:16:32.424454, 6, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dosmode.c:1224(file_ntimes) file_ntime: createtime: Thu Jan 1 02:00:01 1970 [2021/07/25 18:16:32.425880, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/notify_msg.c:217(notify_trigger) notify_trigger called action=0x3, filter=0x0, dir=/export/vol-1, name=dstfile [2021/07/25 18:16:32.425921, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/messages_dgm.c:1444(messaging_dgm_send) messaging_dgm_send: Sending message to 1464 [2021/07/25 18:16:32.426855, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:3194(smbd_smb2_request_done_ex) smbd_smb2_request_done_ex: mid [23] idx[1] status[NT_STATUS_OK] body[2] dyn[no:0] at ../../source3/smbd/smb2_setinfo.c:158 [2021/07/25 18:16:32.427182, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:972(smb2_set_operation_credit) smb2_set_operation_credit: smb2_set_operation_credit: requested 1, charge 1, granted 1, current possible/max 8066/8192, total granted/max/low/range 127/8192/24/127 [2021/07/25 18:16:32.427719, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:4097(smbd_smb2_io_handler) smbd_smb2_request idx[1] of 5 vectors [2021/07/25 18:16:32.427753, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:707(smb2_validate_sequence_number) smb2_validate_sequence_number: smb2_validate_sequence_number: clearing id 24 (position 24) from bitmap [2021/07/25 18:16:32.427908, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_server.c:2378(smbd_smb2_request_dispatch) smbd_smb2_request_dispatch: opcode[SMB2_OP_IOCTL] mid = 24 [2021/07/25 18:16:32.428042, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:32.428168, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:32.428389, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2_credits] ../../source3/smbd/smb2_server.c:2056(smbd_smb2_request_verify_creditcharge) smbd_smb2_request_verify_creditcharge: mid 24, CreditCharge: 1, NeededCharge: 1 [2021/07/25 18:16:32.428488, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=smb2] ../../source3/smbd/smb2_ioctl.c:397(smbd_smb2_ioctl_send) smbd_smb2_ioctl: ctl_code[0x001440f2] dstfile, fnum 2146185049 [2021/07/25 18:16:32.428684, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 0/10 [2021/07/25 18:16:33.428926, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 1/10 [2021/07/25 18:16:34.429123, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 2/10 [2021/07/25 18:16:35.429322, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 3/10 [2021/07/25 18:16:36.429691, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 4/10 [2021/07/25 18:16:37.429886, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 5/10 [2021/07/25 18:16:38.430087, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 6/10 [2021/07/25 18:16:39.431164, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 7/10 [2021/07/25 18:16:40.432222, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 8/10 [2021/07/25 18:16:41.432362, 0, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/smbd/vfs.c:2469(smb_vfs_call_offload_write_send) Sleep 9/10 [2021/07/25 18:16:42.432709, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=vfs] ../../source3/modules/vfs_default.c:2071(vfswrap_offload_write_send) vfswrap_offload_write_send: server side copy chunk of length 512 [2021/07/25 18:16:42.432795, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:326(change_to_user_impersonate) change_to_user_impersonate: Skipping user change - already user [2021/07/25 18:16:42.433011, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:298(print_impersonation_info) print_impersonation_info: Impersonated user: uid=(1009,1009), gid=(0,1009), cwd=[/export/vol-1] [2021/07/25 18:16:42.433153, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:126(strict_lock_check_default) strict_lock_check_default: optimisation - read lease on file srcfile 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 = 56 req->in.vector[4].iov_len = 56 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 [2021/07/25 18:16:42.434157, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/messages.c:428(messaging_recv_cb) messaging_recv_cb: Received message 0x302 len 6 (num_fds:0) from 7095 [2021/07/25 18:16:42.434287, 1, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/conn_idle.c:128(conn_force_tdis) conn_force_tdis: Forcing close of share 'vol-1' (wire_id=0xb7bf4c14) [2021/07/25 18:16:42.434550, 1, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/conn_idle.c:256(conn_force_tdis_done) conn_force_tdis_done: Closing share 'vol-1' (wire_id=0xb7bf4c14) [2021/07/25 18:16:42.434702, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:42.434728, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:42.434843, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008400 [2021/07/25 18:16:42.434950, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8a20a0 [2021/07/25 18:16:42.435064, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:362(share_mode_memcache_fetch) share_mode_memcache_fetch: fetched entry for file dstfile seq 760a04623bc0a0a key 64792:132:0 [2021/07/25 18:16:42.435094, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock.c:232(remove_oplock) remove_oplock: remove_oplock called for dstfile [2021/07/25 18:16:42.435200, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.435294, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:42.435500, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1939(share_mode_entry_do_fn) share_mode_entry_do_fn: state->num_share_modes=1 [2021/07/25 18:16:42.435529, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1485(share_mode_entry_find) share_mode_entry_find: left=0, right=0, middle=0 [2021/07/25 18:16:42.435634, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1494(share_mode_entry_find) share_mode_entry_find: blob.data=0x7f3ccd80f660, blob.length=132 [2021/07/25 18:16:42.435827, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1426(share_mode_entry_put) share_mode_entry_put: share_mode_entry: [2021/07/25 18:16:42.435856, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) discard_const_p(void, e): struct share_mode_entry pid: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) op_mid : 0x0000000000000013 (19) op_type : 0x0000 (0) client_guid : 00000000-0000-0000-0000-000000000000 lease_key: struct smb2_lease_key data: ARRAY(2) data : 0x0000000000000000 (0) data : 0x0000000000000000 (0) access_mask : 0x0017019f (1507743) share_access : 0x00000000 (0) private_options : 0x00000000 (0) time : Sun Jul 25 18:16:32 2021 IDT.356215 share_file_id : 0x0000000000000006 (6) uid : 0x000003f1 (1009) flags : 0x0000 (0) name_hash : 0x6e32f9bf (1848834495) stale : 0x00 (0) [2021/07/25 18:16:42.437996, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.438118, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:42.438248, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock_linux.c:173(linux_release_kernel_oplock) linux_release_kernel_oplock: file dstfile, file_id = 64792:132:0 gen_id = 6 has kernel oplock state of 1. [2021/07/25 18:16:42.438391, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:42.438427, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:42.438535, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:42.438633, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:42.438750, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:42.438961, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:42.438994, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0x6e32f9bf [2021/07/25 18:16:42.439107, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.439207, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:42.439415, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1939(share_mode_entry_do_fn) share_mode_entry_do_fn: state->num_share_modes=1 [2021/07/25 18:16:42.439444, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1485(share_mode_entry_find) share_mode_entry_find: left=0, right=0, middle=0 [2021/07/25 18:16:42.439567, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1494(share_mode_entry_find) share_mode_entry_find: blob.data=0x7f3ccd80f660, blob.length=132 [2021/07/25 18:16:42.439768, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.439798, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:438(share_mode_data_store) share_mode_data_store: [2021/07/25 18:16:42.439914, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x0760a04623bc0a0a (531600979137399306) flags : 0x0039 (57) 0: SHARE_MODE_SHARE_DELETE 0: SHARE_MODE_SHARE_WRITE 0: SHARE_MODE_SHARE_READ 1: SHARE_MODE_ACCESS_DELETE 1: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 1: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : 'dstfile' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : Sun Jul 25 18:16:32 2021 IDT changed_write_time : NTTIME(0) fresh : 0x00 (0) modified : 0x01 (1) have_share_modes : 0x00 (0) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000084 (132) extid : 0x0000000000000000 (0) [2021/07/25 18:16:42.442146, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:42.442267, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:42.442301, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008400 [2021/07/25 18:16:42.442515, 2, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/close.c:835(close_normal_file) lev closed file dstfile (numopen=2) NT_STATUS_OK [2021/07/25 18:16:42.442551, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:42.442669, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:42.442789, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key C6558FAE [2021/07/25 18:16:42.442891, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8ddf60 [2021/07/25 18:16:42.443083, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key C6558FAE [2021/07/25 18:16:42.443110, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:42.443295, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:553(file_free) freed files structure 2146185049 (2 used) [2021/07/25 18:16:42.443327, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:42.443535, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:42.443773, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008300 [2021/07/25 18:16:42.443806, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8a20a0 [2021/07/25 18:16:42.443903, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:312(share_mode_memcache_fetch) share_mode_memcache_fetch: failed to find entry for key 64792:131:0 [2021/07/25 18:16:42.444095, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:403(parse_share_modes) parse_share_modes: [2021/07/25 18:16:42.444122, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x9fee702c2d005d4c (-6922472242186003124) flags : 0x0149 (329) 1: SHARE_MODE_SHARE_DELETE 0: SHARE_MODE_SHARE_WRITE 1: SHARE_MODE_SHARE_READ 0: SHARE_MODE_ACCESS_DELETE 0: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 1: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : 'srcfile' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : Sun Jul 25 16:07:53 2021 IDT changed_write_time : NTTIME(0) fresh : 0x00 (0) modified : 0x00 (0) have_share_modes : 0x00 (0) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000083 (131) extid : 0x0000000000000000 (0) [2021/07/25 18:16:42.446211, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock.c:232(remove_oplock) remove_oplock: remove_oplock called for srcfile [2021/07/25 18:16:42.446310, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.446435, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:42.446613, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1939(share_mode_entry_do_fn) share_mode_entry_do_fn: state->num_share_modes=1 [2021/07/25 18:16:42.446644, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1485(share_mode_entry_find) share_mode_entry_find: left=0, right=0, middle=0 [2021/07/25 18:16:42.446746, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1494(share_mode_entry_find) share_mode_entry_find: blob.data=0x7f3ccd80f660, blob.length=132 [2021/07/25 18:16:42.446847, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1426(share_mode_entry_put) share_mode_entry_put: share_mode_entry: [2021/07/25 18:16:42.446938, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) discard_const_p(void, e): struct share_mode_entry pid: struct server_id pid : 0x0000000000001942 (6466) task_id : 0x00000000 (0) vnn : 0xffffffff (4294967295) unique_id : 0xcd31c6806f830eea (-3660926767146529046) op_mid : 0x000000000000000f (15) op_type : 0x0000 (0) client_guid : 00000000-0000-0000-0000-000000000000 lease_key: struct smb2_lease_key data: ARRAY(2) data : 0x0000000000000000 (0) data : 0x0000000000000000 (0) access_mask : 0x00120089 (1179785) share_access : 0x00000005 (5) private_options : 0x00000000 (0) time : Sun Jul 25 18:16:32 2021 IDT.305154 share_file_id : 0x0000000000000005 (5) uid : 0x000003f1 (1009) flags : 0x0000 (0) name_hash : 0xb161bc6b (2975972459) stale : 0x00 (0) [2021/07/25 18:16:42.448785, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.448884, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:42.449008, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/smbd/oplock_linux.c:173(linux_release_kernel_oplock) linux_release_kernel_oplock: file srcfile, file_id = 64792:131:0 gen_id = 5 has kernel oplock state of 1. [2021/07/25 18:16:42.449042, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:221(push_sec_ctx) push_sec_ctx(1009, 1009) : sec_ctx_stack_ndx = 1 [2021/07/25 18:16:42.449145, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/uid.c:566(push_conn_ctx) push_conn_ctx(4064395778) : conn_ctx_stack_ndx = 0 [2021/07/25 18:16:42.449249, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2021/07/25 18:16:42.449351, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:42.449460, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:42.449643, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:479(pop_sec_ctx) pop_sec_ctx (1009, 1009) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:42.449684, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0xb161bc6b [2021/07/25 18:16:42.449796, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.449908, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:42.450073, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1939(share_mode_entry_do_fn) share_mode_entry_do_fn: state->num_share_modes=1 [2021/07/25 18:16:42.450100, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1485(share_mode_entry_find) share_mode_entry_find: left=0, right=0, middle=0 [2021/07/25 18:16:42.450197, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1494(share_mode_entry_find) share_mode_entry_find: blob.data=0x7f3ccd80f660, blob.length=132 [2021/07/25 18:16:42.450382, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.450414, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:438(share_mode_data_store) share_mode_data_store: [2021/07/25 18:16:42.450518, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x9fee702c2d005d4c (-6922472242186003124) flags : 0x0149 (329) 1: SHARE_MODE_SHARE_DELETE 0: SHARE_MODE_SHARE_WRITE 1: SHARE_MODE_SHARE_READ 0: SHARE_MODE_ACCESS_DELETE 0: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 1: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : 'srcfile' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : Sun Jul 25 16:07:53 2021 IDT changed_write_time : NTTIME(0) fresh : 0x00 (0) modified : 0x01 (1) have_share_modes : 0x00 (0) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000083 (131) extid : 0x0000000000000000 (0) [2021/07/25 18:16:42.452608, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:42.452734, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:42.452767, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008300 [2021/07/25 18:16:42.452942, 2, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/close.c:835(close_normal_file) lev closed file srcfile (numopen=1) NT_STATUS_OK [2021/07/25 18:16:42.452975, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:42.453071, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:42.453171, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 430369A6 [2021/07/25 18:16:42.453265, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8de0e0 [2021/07/25 18:16:42.453451, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 430369A6 [2021/07/25 18:16:42.453477, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:42.453655, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:553(file_free) freed files structure 3804912162 (1 used) [2021/07/25 18:16:42.453696, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:42.453802, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3: 4: [2021/07/25 18:16:42.453968, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 18FD0000000000008000 [2021/07/25 18:16:42.453999, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8a20a0 [2021/07/25 18:16:42.454096, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:362(share_mode_memcache_fetch) share_mode_memcache_fetch: fetched entry for file . seq 41468f495008697d key 64792:128:0 [2021/07/25 18:16:42.454197, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/locking.c:955(find_delete_on_close_token) find_delete_on_close_token: name_hash = 0x28e3895d [2021/07/25 18:16:42.454294, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.454404, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/locking.tdb 2: 3:/var/lock/samba/share_entries.tdb 4: [2021/07/25 18:16:42.454567, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1939(share_mode_entry_do_fn) share_mode_entry_do_fn: state->num_share_modes=1 [2021/07/25 18:16:42.454595, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1485(share_mode_entry_find) share_mode_entry_find: left=0, right=0, middle=0 [2021/07/25 18:16:42.454691, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:1494(share_mode_entry_find) share_mode_entry_find: blob.data=0x7f3ccd80f660, blob.length=132 [2021/07/25 18:16:42.454860, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 3 for /var/lock/samba/share_entries.tdb [2021/07/25 18:16:42.454890, 10, pid=6466, effective(1009, 1009), real(1009, 0), class=locking] ../../source3/locking/share_mode_lock.c:438(share_mode_data_store) share_mode_data_store: [2021/07/25 18:16:42.454994, 1, pid=6466, effective(1009, 1009), real(1009, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:433(ndr_print_debug) d: struct share_mode_data sequence_number : 0x41468f495008697d (4703604405873174909) flags : 0x01c8 (456) 1: SHARE_MODE_SHARE_DELETE 1: SHARE_MODE_SHARE_WRITE 1: SHARE_MODE_SHARE_READ 0: SHARE_MODE_ACCESS_DELETE 0: SHARE_MODE_ACCESS_WRITE 1: SHARE_MODE_ACCESS_READ 0: SHARE_MODE_LEASE_HANDLE 0: SHARE_MODE_LEASE_WRITE 0: SHARE_MODE_LEASE_READ servicepath : * servicepath : '/export/vol-1' base_name : * base_name : '.' stream_name : NULL num_delete_tokens : 0x00000000 (0) delete_tokens: ARRAY(0) old_write_time : NTTIME(0) changed_write_time : NTTIME(0) fresh : 0x00 (0) modified : 0x01 (1) have_share_modes : 0x00 (0) id: struct file_id devid : 0x000000000000fd18 (64792) inode : 0x0000000000000080 (128) extid : 0x0000000000000000 (0) [2021/07/25 18:16:42.457308, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/lib/dbwrap/dbwrap_watch.c:409(dbwrap_watched_subrec_wakeup_fn) dbwrap_watched_subrec_wakeup_fn: No watchers [2021/07/25 18:16:42.457441, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/locking.tdb [2021/07/25 18:16:42.457478, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 18FD0000000000008000 [2021/07/25 18:16:42.457572, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/dir.c:348(dptr_CloseDir) dptr_CloseDir: closing dptr key 0 [2021/07/25 18:16:42.457759, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:42.457788, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_open_global.tdb 2: 3: 4: [2021/07/25 18:16:42.457897, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key 48AD3381 [2021/07/25 18:16:42.457991, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8ddde0 [2021/07/25 18:16:42.458164, 10, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key 48AD3381 [2021/07/25 18:16:42.458191, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_open_global.tdb [2021/07/25 18:16:42.458366, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/files.c:553(file_free) freed files structure 2135870810 (0 used) [2021/07/25 18:16:42.458396, 4, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:42.458512, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:42.458598, 5, pid=6466, effective(1009, 1009), real(1009, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:42.458777, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:498(smbd_change_to_root_user) change_to_root_user: now uid=(0,0) gid=(0,0) [2021/07/25 18:16:42.458811, 1, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/service.c:1217(close_cnum) win-9f3sqhjmofp (ipv4:10.2.5.92:58974) closed connection to service vol-1 as user lev [2021/07/25 18:16:42.459018, 4, pid=6466, effective(0, 0), real(0, 0), class=vfs] ../../source3/smbd/vfs.c:923(vfs_ChDir) vfs_ChDir to / [2021/07/25 18:16:42.459208, 5, pid=6466, effective(0, 0), real(0, 0), class=vfs] ../../source3/smbd/vfs.c:985(vfs_ChDir) vfs_ChDir: vfs_ChDir got / [2021/07/25 18:16:42.459325, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:42.459445, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:42.459545, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:42.459764, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:498(smbd_change_to_root_user) change_to_root_user: now uid=(0,0) gid=(0,0) [2021/07/25 18:16:42.459900, 5, pid=6466, effective(0, 0), real(0, 0)] ../../lib/dbwrap/dbwrap.c:143(dbwrap_lock_order_lock) dbwrap_lock_order_lock: check lock order 1 for /var/lock/samba/smbXsrv_tcon_global.tdb [2021/07/25 18:16:42.459929, 10, pid=6466, effective(0, 0), real(0, 0)] ../../lib/dbwrap/dbwrap.c:129(debug_lock_order) lock order: 1:/var/lock/samba/smbXsrv_tcon_global.tdb 2: 3: 4: [2021/07/25 18:16:42.460045, 10, pid=6466, effective(0, 0), real(0, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Locking key B7BF4C14 [2021/07/25 18:16:42.460145, 10, pid=6466, effective(0, 0), real(0, 0)] ../../lib/dbwrap/dbwrap_tdb.c:153(db_tdb_fetch_locked_internal) db_tdb_fetch_locked_internal: Allocated locked data 0x7f3ccd8a20a0 [2021/07/25 18:16:42.460325, 10, pid=6466, effective(0, 0), real(0, 0)] ../../lib/dbwrap/dbwrap_tdb.c:60(db_tdb_log_key) db_tdb_log_key: Unlocking key B7BF4C14 [2021/07/25 18:16:42.460364, 5, pid=6466, effective(0, 0), real(0, 0)] ../../lib/dbwrap/dbwrap.c:172(dbwrap_lock_order_unlock) dbwrap_lock_order_unlock: release lock order 1 for /var/lock/samba/smbXsrv_tcon_global.tdb [2021/07/25 18:16:42.460550, 4, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/sec_ctx.c:361(set_sec_ctx_internal) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2021/07/25 18:16:42.460576, 5, pid=6466, effective(0, 0), real(0, 0)] ../../libcli/security/security_token.c:52(security_token_debug) Security token: (NULL) [2021/07/25 18:16:42.460678, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/auth/token_util.c:874(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2021/07/25 18:16:42.460848, 5, pid=6466, effective(0, 0), real(0, 0)] ../../source3/smbd/uid.c:498(smbd_change_to_root_user) change_to_root_user: now uid=(0,0) gid=(0,0)