summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-16 10:16:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:20 -0500
commit43fa1b6dbd5e03251572fb6c2ee7c7f59f413c7d (patch)
tree9e222c6c65a2351a8f4fecd1f14b6bb631bde02e
parent6e94a6753025fca537e2d2981d1c01d7be44308f (diff)
downloadsamba-43fa1b6dbd5e03251572fb6c2ee7c7f59f413c7d.tar.gz
samba-43fa1b6dbd5e03251572fb6c2ee7c7f59f413c7d.tar.xz
samba-43fa1b6dbd5e03251572fb6c2ee7c7f59f413c7d.zip
r11740: add some EA error codes
metze (This used to be commit b1afcced395812477365befad1ed37a7cdafa275)
-rw-r--r--source4/include/nterr.h5
-rw-r--r--source4/libcli/util/nterr.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/source4/include/nterr.h b/source4/include/nterr.h
index 0395460c9a..bfeb63169c 100644
--- a/source4/include/nterr.h
+++ b/source4/include/nterr.h
@@ -28,8 +28,11 @@
#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_NO_MORE_EAS NT_STATUS(0x80000012)
+#define STATUS_INVALID_EA_NAME NT_STATUS(0x80000013)
#define STATUS_EA_LIST_INCONSISTENT NT_STATUS(0x80000014)
+#define STATUS_INVALID_EA_FLAG NT_STATUS(0x80000015)
+#define NT_STATUS_NO_MORE_ENTRIES NT_STATUS(0x8000001a)
#define STATUS_MORE_ENTRIES NT_STATUS(0x0105)
#define STATUS_SOME_UNMAPPED NT_STATUS(0x0107)
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index ca8605faea..45d0181103 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -35,7 +35,10 @@ static const nt_err_code_struct nt_errs[] =
{
{ "NT_STATUS_OK", NT_STATUS_OK },
{ "STATUS_NO_MORE_FILES", STATUS_NO_MORE_FILES },
+ { "STATUS_NO_MORE_EAS", STATUS_NO_MORE_EAS },
+ { "STATUS_INVALID_EA_NAME", STATUS_INVALID_EA_NAME },
{ "STATUS_EA_LIST_INCONSISTENT", STATUS_EA_LIST_INCONSISTENT },
+ { "STATUS_INVALID_EA_FLAG", STATUS_INVALID_EA_FLAG },
{ "NT_STATUS_UNSUCCESSFUL", NT_STATUS_UNSUCCESSFUL },
{ "NT_STATUS_NOT_IMPLEMENTED", NT_STATUS_NOT_IMPLEMENTED },
{ "NT_STATUS_INVALID_INFO_CLASS", NT_STATUS_INVALID_INFO_CLASS },