Not yet used. Simple wrapper, identical to check_path_syntax_posix().
I want to keep SMB1/SMB2 code as separate as possible so
we can remove any SMB1 code path later.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
NTSTATUS check_path_syntax(char *path);
NTSTATUS check_path_syntax_posix(char *path);
NTSTATUS check_path_syntax_smb2(char *path);
NTSTATUS check_path_syntax(char *path);
NTSTATUS check_path_syntax_posix(char *path);
NTSTATUS check_path_syntax_smb2(char *path);
+NTSTATUS check_path_syntax_smb2_posix(char *path);
NTSTATUS smb1_strip_dfs_path(TALLOC_CTX *mem_ctx,
uint32_t *ucf_flags,
char **in_path);
NTSTATUS smb1_strip_dfs_path(TALLOC_CTX *mem_ctx,
uint32_t *ucf_flags,
char **in_path);
return check_path_syntax_internal(path, false);
}
return check_path_syntax_internal(path, false);
}
+NTSTATUS check_path_syntax_smb2_posix(char *path)
+{
+ return check_path_syntax_internal(path, true);
+}
+
/****************************************************************************
SMB2-only code to strip an MSDFS prefix from an incoming pathname.
****************************************************************************/
/****************************************************************************
SMB2-only code to strip an MSDFS prefix from an incoming pathname.
****************************************************************************/