1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

smbd: use common exit in filename_convert_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme
2020-11-23 06:40:16 +01:00
parent 927c297bd6
commit 4d29ab04d8

View File

@ -1970,11 +1970,7 @@ static NTSTATUS filename_convert_internal(TALLOC_CTX *ctx,
TALLOC_FREE(smb_fname);
return status;
}
*_smb_fname = smb_fname;
return NT_STATUS_OK;
}
if (!smbreq) {
} else if (!smbreq) {
status = check_name(conn, smb_fname);
} else {
status = check_name_with_privilege(conn, smbreq,