1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

s3: smbd: Remove unused check_name_with_privilege().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2021-12-03 10:13:13 -08:00 committed by Ralph Boehme
parent b18c2abae9
commit 02f840308d

View File

@ -1499,27 +1499,6 @@ static NTSTATUS check_name(connection_struct *conn,
return NT_STATUS_OK;
}
#if 0
/****************************************************************************
Must be called as root. Creates the struct privilege_paths
attached to the struct smb_request if this call is successful.
****************************************************************************/
static NTSTATUS check_name_with_privilege(connection_struct *conn,
struct smb_request *smbreq,
const struct smb_filename *smb_fname)
{
NTSTATUS status = check_veto_path(conn, smb_fname);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
return check_reduced_name_with_privilege(conn,
smb_fname,
smbreq);
}
#endif
/****************************************************************************
Check if two filenames are equal.
This needs to be careful about whether we are case sensitive.