summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@samba.org>2007-05-17 01:17:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:31 -0500
commit402218516a141722cf6cf42c29f15834122acbd7 (patch)
tree368c5d1a9d5299b5aaf0df316366dd3956ec016e /source4/libcli
parent66cc0b1e214bdac9625eed92e6ac85aa69a11dc8 (diff)
downloadsamba-402218516a141722cf6cf42c29f15834122acbd7.tar.gz
samba-402218516a141722cf6cf42c29f15834122acbd7.tar.bz2
samba-402218516a141722cf6cf42c29f15834122acbd7.zip
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)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/doserr.h1
1 files changed, 1 insertions, 0 deletions
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)