summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-04 05:01:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:10 -0500
commit934831686c2bde9bdd9fbb050ac10341b32c83fa (patch)
tree538422a9961d44ea0b1ab1f634ec1c0c05d4eee3 /source4
parent319f19eb906c4bb542d96c9e5ceb4bc495e4e9f8 (diff)
downloadsamba-934831686c2bde9bdd9fbb050ac10341b32c83fa.tar.gz
samba-934831686c2bde9bdd9fbb050ac10341b32c83fa.tar.bz2
samba-934831686c2bde9bdd9fbb050ac10341b32c83fa.zip
r8115: added support for 2 more dos error codes found during testing
(This used to be commit 97cb70571377e3b4e5eb0b7ca516e4af349fdfea)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/doserr.h2
-rw-r--r--source4/libcli/util/nterr.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h
index f124fb1b9c..3264c8c68b 100644
--- a/source4/include/doserr.h
+++ b/source4/include/doserr.h
@@ -63,6 +63,8 @@
#define ERRinvalidname 123 /* Invalid name */
#define ERRunknownlevel 124
#define ERRnotlocked 158 /* This region is not locked by this locking context. */
+#define ERRcancelviolation 173
+#define ERRnoatomiclocks 174
#define ERRrename 183
#define ERRbadpipe 230 /* Named pipe invalid */
#define ERRpipebusy 231 /* All instances of pipe are busy */
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index 9bef2cf35c..65de6a72b4 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -575,6 +575,8 @@ static const nt_err_code_struct nt_errs[] =
DOS_CODE(ERRDOS, ERRinvalidname),
DOS_CODE(ERRDOS, ERRunknownlevel),
DOS_CODE(ERRDOS, ERRnotlocked),
+ DOS_CODE(ERRDOS, ERRcancelviolation),
+ DOS_CODE(ERRDOS, ERRnoatomiclocks),
DOS_CODE(ERRDOS, ERRrename),
DOS_CODE(ERRDOS, ERRbadpipe),
DOS_CODE(ERRDOS, ERRpipebusy),