From 402218516a141722cf6cf42c29f15834122acbd7 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 17 May 2007 01:17:43 +0000 Subject: r22958: For SRVSVC/NetFileClose only Administrator is allowed to close open files. If a normal user tries to close a file that exists, even that users own files the server responds with this error on w2k if the file does not exist, the server instead responds with WERR_BADFILE (This used to be commit c17df8bed66d70765b85b6e04f2ad0a57073ffb4) --- source4/libcli/util/doserr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h index a45831347f..6df5181654 100644 --- a/source4/libcli/util/doserr.h +++ b/source4/libcli/util/doserr.h @@ -211,6 +211,7 @@ #define WERR_BUF_TOO_SMALL W_ERROR(2123) #define WERR_JOB_NOT_FOUND W_ERROR(2151) #define WERR_DEST_NOT_FOUND W_ERROR(2152) +#define WERR_FID_NOT_FOUND W_ERROR(2314) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) #define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) -- cgit