summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-11 18:06:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:02 -0500
commitd89b4adf7abdc74f23960dee3f4961006ac12be6 (patch)
tree820199601b2d1e9ca22a6b6221b83dbee8e6fa4f
parent43f6d7d18906b98cac5fc26e78d2d9ee454fa23c (diff)
downloadsamba-d89b4adf7abdc74f23960dee3f4961006ac12be6.tar.gz
samba-d89b4adf7abdc74f23960dee3f4961006ac12be6.tar.bz2
samba-d89b4adf7abdc74f23960dee3f4961006ac12be6.zip
r16949: add and fix some NOTIFY return codes
metze (This used to be commit e40d62363c2123fff37b35c1c7004e85a6786c2a)
-rw-r--r--source4/libcli/util/nterr.c2
-rw-r--r--source4/libcli/util/nterr.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index ef53e030c7..589d8627e6 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -547,6 +547,8 @@ static const nt_err_code_struct nt_errs[] =
{ "NT_STATUS_OBJECTID_NOT_FOUND", NT_STATUS_OBJECTID_NOT_FOUND },
{ "STATUS_MORE_ENTRIES", STATUS_MORE_ENTRIES },
{ "STATUS_SOME_UNMAPPED", STATUS_SOME_UNMAPPED },
+ { "STATUS_NOTIFY_CLEANUP", STATUS_NOTIFY_CLEANUP },
+ { "STATUS_NOTIFY_ENUM_DIR", STATUS_NOTIFY_ENUM_DIR },
DOS_CODE(ERRDOS, ERRsuccess),
DOS_CODE(ERRDOS, ERRbadfunc),
diff --git a/source4/libcli/util/nterr.h b/source4/libcli/util/nterr.h
index 29afa511d4..baf15d80ef 100644
--- a/source4/libcli/util/nterr.h
+++ b/source4/libcli/util/nterr.h
@@ -37,9 +37,10 @@
#define STATUS_PENDING NT_STATUS(0x0103)
#define STATUS_MORE_ENTRIES NT_STATUS(0x0105)
#define STATUS_SOME_UNMAPPED NT_STATUS(0x0107)
+#define STATUS_NOTIFY_CLEANUP NT_STATUS(0x010b)
+#define STATUS_NOTIFY_ENUM_DIR NT_STATUS(0x010c)
#define ERROR_INVALID_PARAMETER NT_STATUS(0x0057)
#define ERROR_INSUFFICIENT_BUFFER NT_STATUS(0x007a)
-#define STATUS_NOTIFY_ENUM_DIR NT_STATUS(0x010c)
#define ERROR_INVALID_DATATYPE NT_STATUS(0x070c)
/* Win32 Error codes extracted using a loop in smbclient then printing a