summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-29 20:10:17 +0200
committerGünther Deschner <gd@samba.org>2008-04-29 20:22:01 +0200
commitd0411c19dc847919b2a7941d91d2605c885e2b62 (patch)
tree3ca0819046fa9ffa4ac85071d8e09f909e9ee53d
parentad73cb11a2a650ece09e3989f5b019234d9517ff (diff)
downloadsamba-d0411c19dc847919b2a7941d91d2605c885e2b62.tar.gz
samba-d0411c19dc847919b2a7941d91d2605c885e2b62.tar.bz2
samba-d0411c19dc847919b2a7941d91d2605c885e2b62.zip
errors: add WERR_NOT_FOUND.
Guenther (This used to be commit b9ac03bdfa5763c713674acd966ab5d4371992a5)
-rw-r--r--source3/include/doserr.h1
-rw-r--r--source3/libsmb/doserr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index d4fefb234b..44ce73973c 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -202,6 +202,7 @@
#define WERR_SERVICE_ALREADY_RUNNING W_ERROR(1056)
#define WERR_SERVICE_DISABLED W_ERROR(1058)
#define WERR_SERVICE_NEVER_STARTED W_ERROR(1077)
+#define WERR_NOT_FOUND W_ERROR(1168)
#define WERR_INVALID_COMPUTER_NAME W_ERROR(1210)
#define WERR_INVALID_DOMAINNAME W_ERROR(1212)
#define WERR_MACHINE_LOCKED W_ERROR(1271)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index 7a7cceef24..450d6ee911 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -104,6 +104,7 @@ werror_code_struct dos_errs[] =
{ "WERR_NO_SUCH_SERVICE", WERR_NO_SUCH_SERVICE },
{ "WERR_SERVICE_DISABLED", WERR_SERVICE_DISABLED },
{ "WERR_SERVICE_NEVER_STARTED", WERR_SERVICE_NEVER_STARTED },
+ { "WERR_NOT_FOUND", WERR_NOT_FOUND },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE},
{ "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS},
{ "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE },