summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-06-30 15:25:16 +0200
committerVolker Lendecke <vl@samba.org>2011-07-03 11:31:28 +0200
commit61d0afeab30d4f7a40e3ad89b97942027aee6287 (patch)
tree5e1548fdfc664ddf45376836a70661bf4c2ffe66
parent4a83575ae67c47ea76ce9b0998be8f099d001d8a (diff)
downloadsamba-61d0afeab30d4f7a40e3ad89b97942027aee6287.tar.gz
samba-61d0afeab30d4f7a40e3ad89b97942027aee6287.tar.bz2
samba-61d0afeab30d4f7a40e3ad89b97942027aee6287.zip
s3: Add STATUS_STOPPED_ON_SYMLINK error code
-rw-r--r--libcli/util/nterr.c1
-rw-r--r--libcli/util/ntstatus.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libcli/util/nterr.c b/libcli/util/nterr.c
index 405ff6dd1d..cee56647bf 100644
--- a/libcli/util/nterr.c
+++ b/libcli/util/nterr.c
@@ -37,6 +37,7 @@ const nt_err_code_struct nt_errs[] =
{
{ "NT_STATUS_OK", NT_STATUS_OK },
{ "STATUS_NO_MORE_FILES", STATUS_NO_MORE_FILES },
+ { "STATUS_STOPPED_ON_SYMLINK", STATUS_STOPPED_ON_SYMLINK },
{ "STATUS_NO_MORE_EAS", STATUS_NO_MORE_EAS },
{ "STATUS_INVALID_EA_NAME", STATUS_INVALID_EA_NAME },
{ "STATUS_EA_LIST_INCONSISTENT", STATUS_EA_LIST_INCONSISTENT },
diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h
index 36a040dc33..2018b40212 100644
--- a/libcli/util/ntstatus.h
+++ b/libcli/util/ntstatus.h
@@ -48,6 +48,7 @@ typedef uint32_t NTSTATUS;
#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_STOPPED_ON_SYMLINK NT_STATUS(0x8000002d)
#define STATUS_PENDING NT_STATUS(0x0103)
/* Vista Status codes. */