summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-02-05 14:40:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:33 -0500
commit58a957035336119a3a023384fef205ae718fdf1b (patch)
tree54b6c311539bd3876563e5daccacbbb092cc8352
parent05db954edd562a4fa064e951051fbc31a210baba (diff)
downloadsamba-58a957035336119a3a023384fef205ae718fdf1b.tar.gz
samba-58a957035336119a3a023384fef205ae718fdf1b.tar.bz2
samba-58a957035336119a3a023384fef205ae718fdf1b.zip
r5237: Add error code for "class not registered"
(This used to be commit b72a0ac654857273eaaf3c5e32d86abed0af3ceb)
-rw-r--r--source4/include/doserr.h2
-rw-r--r--source4/libcli/util/doserr.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h
index 06e0986445..586ac99997 100644
--- a/source4/include/doserr.h
+++ b/source4/include/doserr.h
@@ -221,6 +221,8 @@
#define WERR_PRINT_MONITOR_IN_USE W_ERROR(ERRprintmonitorinuse)
#define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued)
+#define WERR_CLASS_NOT_REGISTERED W_ERROR(0x40154)
+
#ifndef NERR_BASE
#define NERR_BASE (2100)
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index a9acb7335c..a584def829 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -86,6 +86,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
+ { "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
{ NULL, W_ERROR(0) }
};