svn commit: samba r22958 - in branches/SAMBA_4_0/source/libcli/util: .

sahlberg at samba.org sahlberg at samba.org
Thu May 17 01:17:45 GMT 2007


Author: sahlberg
Date: 2007-05-17 01:17:43 +0000 (Thu, 17 May 2007)
New Revision: 22958

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22958

Log:
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
 

Modified:
   branches/SAMBA_4_0/source/libcli/util/doserr.h


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/util/doserr.h
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/doserr.h	2007-05-17 00:44:20 UTC (rev 22957)
+++ branches/SAMBA_4_0/source/libcli/util/doserr.h	2007-05-17 01:17:43 UTC (rev 22958)
@@ -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)



More information about the samba-cvs mailing list