mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname().
Get it from parent/deriving smb_filename if present. Use 0 (as usually this a Windows-style lookup) if not. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
This commit is contained in:
@ -133,7 +133,7 @@ static uint32_t vfswrap_fs_capabilities(struct vfs_handle_struct *handle,
|
||||
* use when setting a timestamp. */
|
||||
|
||||
smb_fname_cpath = synthetic_smb_fname(talloc_tos(), conn->connectpath,
|
||||
NULL, NULL);
|
||||
NULL, NULL, 0);
|
||||
if (smb_fname_cpath == NULL) {
|
||||
return caps;
|
||||
}
|
||||
|
Reference in New Issue
Block a user