From 934831686c2bde9bdd9fbb050ac10341b32c83fa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Jul 2005 05:01:22 +0000 Subject: r8115: added support for 2 more dos error codes found during testing (This used to be commit 97cb70571377e3b4e5eb0b7ca516e4af349fdfea) --- source4/include/doserr.h | 2 ++ source4/libcli/util/nterr.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'source4') 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), -- cgit