From 66c55e34c0cad79bc7f76cd106b59f43ec5d75f0 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 --- source/smbd/reply.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/source/smbd/reply.c b/source/smbd/reply.c index a374b65..ef0db27 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -72,6 +72,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