mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
net: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from openat_pathref_fsp()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
@ -243,9 +243,6 @@ static int net_vfs_get_ntacl(struct net_context *net,
|
||||
}
|
||||
|
||||
status = openat_pathref_fsp(state.conn_tos->conn->cwd_fsp, smb_fname);
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_STOPPED_ON_SYMLINK)) {
|
||||
status = NT_STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
}
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DBG_ERR("openat_pathref_fsp [%s] failed: %s\n",
|
||||
smb_fname_str_dbg(smb_fname), nt_errstr(status));
|
||||
|
Reference in New Issue
Block a user