From fa8821ba1ff04540d704758cf8fc4eb8bc64afde Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 21 Dec 2009 16:26:34 +0100 Subject: [PATCH] smbd: Fix opening the quota magic file This fixes bug #6642 and bug #6919. metze --- source3/smbd/reply.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index acd84d6..6619622 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -66,6 +66,10 @@ static NTSTATUS check_path_syntax_internal(char *path, return NT_STATUS_OBJECT_NAME_INVALID; } if (StrCaseCmp(s, ":$DATA") != 0) { + if (StrCaseCmp(path, FAKE_FILE_NAME_QUOTA_WIN32) == 0) { + return NT_STATUS_OK; + } + return NT_STATUS_INVALID_PARAMETER; } break; -- 1.6.3.3