summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-09-24 00:55:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:47 -0500
commit8875124a61c63d2def8ec193a98732f6fcfaa6a1 (patch)
tree39d4f185b7f50274855acec1bfac6d3652efb61b /source3/include
parent729155a42826660dcc0bfa31b03ebd13f2506470 (diff)
downloadsamba-8875124a61c63d2def8ec193a98732f6fcfaa6a1.tar.gz
samba-8875124a61c63d2def8ec193a98732f6fcfaa6a1.tar.bz2
samba-8875124a61c63d2def8ec193a98732f6fcfaa6a1.zip
r2575: Return correct error codes on old SEARCH call (from Samba4 torture tester).
Jeremy. (This used to be commit fc51c97ea86bd1a86830d4ab2c6c7c4ec9fccc88)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/nterr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/nterr.h b/source3/include/nterr.h
index 19c70cffcc..6cf5a756d2 100644
--- a/source3/include/nterr.h
+++ b/source3/include/nterr.h
@@ -27,9 +27,10 @@
/* Win32 Status codes. */
#define STATUS_BUFFER_OVERFLOW NT_STATUS(0x80000005)
+#define STATUS_NO_MORE_FILES NT_STATUS(0x80000006)
#define NT_STATUS_NO_MORE_ENTRIES NT_STATUS(0x8000001a)
-#define STATUS_MORE_ENTRIES NT_STATUS(0x0105)
+#define STATUS_MORE_ENTRIES NT_STATUS(0x0105)
#define STATUS_SOME_UNMAPPED NT_STATUS(0x0107)
#define ERROR_INVALID_PARAMETER NT_STATUS(0x0057)
#define ERROR_INSUFFICIENT_BUFFER NT_STATUS(0x007a)