Bug 15259 - When browsing the snapshots with @GMT from the .snapshots as export name i.e when trying to access snapshots as follows "\\<IP>>\.snapshots\@GMT_2022.10.17-18.55.10 in Windows Explorer couldn't be able to access the snapshots
Summary: When browsing the snapshots with @GMT from the .snapshots as export name i.e ...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.13.1
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-06 10:53 UTC by dinesh
Modified: 2022-12-06 10:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dinesh 2022-12-06 10:53:12 UTC
When browsing the snapshots with @GMT from the .snapshots as export name i.e  when trying to access snapshots as follows "\\<IP>>\.snapshots\@GMT_2022.10.17-18.55.10 in Windows Explorer couldn't be able to access the snapshots 

created .snapshots as export name or share name as wanted to use Windows Explorer to browse within the entire file hierarchy of snapshots"



The following are the logs for same 
[2022/10/10 22:58:48.550801, 10, pid=4967, effective(15171, 10000), real(15171, 0), class=smb2] ../../source3/smbd/smb2_server.c:2950(smbd_smb2_request_dispatch)
   smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 69
[2022/10/10 22:58:48.553482, 10, pid=4967, effective(15171, 10000), real(15171, 0), class=smb2] ../../source3/smbd/smb2_create.c:841(smbd_smb2_create_send)
smbd_smb2_create_send: open execution phase
[2022/10/10 22:58:48.553732, 10, pid=4967, effective(15171, 10000), real(15171, 0)] ../../source3/smbd/filename.c:956(unix_convert) unix_convert: Called on file []
[2022/10/10 22:58:48.553985, 10, pid=4967, effective(15171, 10000), real(15171, 0)] ../../source3/modules/vfs_shadow_copy2.c:607(_shadow_copy2_strip_snapshot_internal)
 _shadow_copy2_strip_snapshot_internal: [from shadow_copy2_stat()] Path '.{@GMT-2022.09.30-12.00.28}'
[2022/10/10 22:58:48.554235, 10, pid=4967, effective(15171, 10000), real(15171, 0)] ../../source3/modules/vfs_shadow_copy2.c:619(_shadow_copy2_strip_snapshot_internal)
 _shadow_copy2_strip_snapshot_internal: abs path '/ace/.snapshots'
[2022/10/10 22:58:48.554499, 10, pid=4967, effective(15171, 10000), real(15171, 0)] ../../source3/modules/vfs_shadow_copy2.c:790(shadow_copy2_do_convert)
converting ''
[2022/10/10 22:58:48.554879, 10, pid=4967, effective(15171, 10000), real(15171, 0)] ../../source3/modules/vfs_shadow_copy2.c:932(shadow_copy2_do_convert)
Trying[snapdirseverywhere] : /ace/.snapshots/.snapshots/@GMT-2022.09.30-12.00.28 -1 (No such file or directory)
[2022/10/10 22:58:48.555261, 10, pid=4967, effective(15171, 10000), real(15171, 0)] ../../source3/modules/vfs_shadow_copy2.c:932(shadow_copy2_do_convert)
Trying[snapdirseverywhere] /ace/.snapshots/@GMT-2022.09.30-12.00.28/.snapshots: -1 (No such file or directory)
[2022/10/10 22:58:48.555511, 10, pid=4967, effective(15171, 10000), real(15171, 0)] ../../source3/smbd/filename.c:1915(filename_convert)
filename_convert: unix_convert failed for name  with NT_STATUS_OBJECT_NAME_NOT_FOUND
[2022/10/10 22:58:48.555756,  3, pid=4967, effective(15171, 10000), real(15171, 0), class=smb2] ../../source3/smbd/smb2_server.c:3925(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at ../../source3/smbd/smb2_create.c:337
[2022/10/10 22:58:48.556000, 10, pid=4967, effective(15171, 10000), real(15171, 0), class=smb2] ../../source3/smbd/smb2_server.c:3817(smbd_smb2_request_done_ex)
smbd_smb2_request_done_ex: mid [69] idx[1] status[NT_STATUS_OBJECT_NAME_NOT_FOUND] body[8] dyn[yes:1] at ../../source3/smbd/smb2_server.c:3973