summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-24 22:19:23 +0200
committerGünther Deschner <gd@samba.org>2008-04-25 14:49:31 +0200
commitdddac2bc8f97c6ece4242281e817415c77b181a2 (patch)
tree2a500cbf0f73fd4a6769e74714b22c338448afb2 /source3
parent6d3c61c9e74ea506e549e7a79fa103cf92a25274 (diff)
downloadsamba-dddac2bc8f97c6ece4242281e817415c77b181a2.tar.gz
samba-dddac2bc8f97c6ece4242281e817415c77b181a2.tar.bz2
samba-dddac2bc8f97c6ece4242281e817415c77b181a2.zip
errors: add WERR_INVALID_DOMAINNAME.
Guenther (This used to be commit b11a5e70d38239fb50ba4606656e2168cc398a12)
Diffstat (limited to 'source3')
-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 65892d3abd..d4fefb234b 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -203,6 +203,7 @@
#define WERR_SERVICE_DISABLED W_ERROR(1058)
#define WERR_SERVICE_NEVER_STARTED W_ERROR(1077)
#define WERR_INVALID_COMPUTER_NAME W_ERROR(1210)
+#define WERR_INVALID_DOMAINNAME W_ERROR(1212)
#define WERR_MACHINE_LOCKED W_ERROR(1271)
#define WERR_NO_LOGON_SERVERS W_ERROR(1311)
#define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index 8761106e58..7a7cceef24 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -76,6 +76,7 @@ werror_code_struct dos_errs[] =
{ "WERR_DFS_INTERNAL_ERROR", WERR_DFS_INTERNAL_ERROR },
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
{ "WERR_INVALID_COMPUTER_NAME", WERR_INVALID_COMPUTER_NAME },
+ { "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME },
{ "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED },
{ "WERR_DC_NOT_FOUND", WERR_DC_NOT_FOUND },
{ "WERR_SETUP_NOT_JOINED", WERR_SETUP_NOT_JOINED },