diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 149abf9e589..72ee8e82fe5 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -933,7 +933,6 @@ bool disk_quotas(connection_struct *conn, struct smb_filename *fname, /* The following definitions come from smbd/reply.c */ NTSTATUS check_path_syntax(char *path); -NTSTATUS check_path_syntax_wcard(char *path, bool *p_contains_wcard); NTSTATUS check_path_syntax_posix(char *path); size_t srvstr_get_path(TALLOC_CTX *ctx, const char *inbuf, diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 325196c6f13..e7771e2bc59 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -232,17 +232,6 @@ NTSTATUS check_path_syntax(char *path) return check_path_syntax_internal(path, False, &ignore); } -/**************************************************************************** - Ensure we check the path in *exactly* the same way as W2K for regular pathnames. - Wildcards allowed - p_contains_wcard returns true if the last component contained - a wildcard. -****************************************************************************/ - -NTSTATUS check_path_syntax_wcard(char *path, bool *p_contains_wcard) -{ - return check_path_syntax_internal(path, False, p_contains_wcard); -} - /**************************************************************************** Check the path for a POSIX client. We're assuming here that '/' is not the second byte in any multibyte char