summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 11:58:33 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:29 +0100
commit018a61a71178ac162c0b0a1f169de12ee75927cc (patch)
tree82d951a8870f9efbffe085520947eccba3aa3322
parent1434003048554ee7a5a6795f2c051d155673756d (diff)
downloadsamba-018a61a71178ac162c0b0a1f169de12ee75927cc.tar.gz
samba-018a61a71178ac162c0b0a1f169de12ee75927cc.tar.bz2
samba-018a61a71178ac162c0b0a1f169de12ee75927cc.zip
r26160: Add WERR_NAME_NOT_FOUND.
Guenther (This used to be commit 66be960c67787ed7355775e619f3973543a4fef8)
-rw-r--r--source4/libcli/util/doserr.c1
-rw-r--r--source4/libcli/util/werror.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index d36532dcf4..be33ba47e2 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -133,6 +133,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_FRS_INSUFFICIENT_PRIV", WERR_FRS_INSUFFICIENT_PRIV },
{ "WERR_RPC_E_REMOTE_DISABLED", WERR_RPC_E_REMOTE_DISABLED },
{ "WERR_NOT_CONNECTED", WERR_NOT_CONNECTED },
+ { "WERR_NAME_NOT_FOUND", WERR_NAME_NOT_FOUND},
{ NULL, W_ERROR(0) }
};
diff --git a/source4/libcli/util/werror.h b/source4/libcli/util/werror.h
index 83fa5469cf..c5ec90d5dd 100644
--- a/source4/libcli/util/werror.h
+++ b/source4/libcli/util/werror.h
@@ -115,6 +115,7 @@ typedef uint32_t WERROR;
#define WERR_JOB_NOT_FOUND W_ERROR(2151)
#define WERR_DEST_NOT_FOUND W_ERROR(2152)
#define WERR_NOT_CONNECTED W_ERROR(2250)
+#define WERR_NAME_NOT_FOUND W_ERROR(2273)
#define WERR_SESSION_NOT_FOUND W_ERROR(2312)
#define WERR_FID_NOT_FOUND W_ERROR(2314)
#define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320)