mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
pysmbd: call vfs_stat() in set_sys_acl_conn()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
6c421f523b
commit
9eef705ecf
@ -141,6 +141,12 @@ static int set_sys_acl_conn(const char *fname,
|
||||
return -1;
|
||||
}
|
||||
|
||||
ret = vfs_stat(conn, smb_fname);
|
||||
if (ret == -1) {
|
||||
TALLOC_FREE(frame);
|
||||
return -1;
|
||||
}
|
||||
|
||||
status = openat_pathref_fsp(conn->cwd_fsp, smb_fname);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
TALLOC_FREE(frame);
|
||||
|
Loading…
Reference in New Issue
Block a user