summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-14 15:48:23 +0200
committerGünther Deschner <gd@samba.org>2008-04-14 15:48:23 +0200
commit202e8cc57efc1f69f0d6dd57a6e9bc38ea8e4afd (patch)
tree22b21cadccc80515dbc160e0635a84b22526e004
parentfffb304fecdd26fd4410fc077afd43ff927407e8 (diff)
downloadsamba-202e8cc57efc1f69f0d6dd57a6e9bc38ea8e4afd.tar.gz
samba-202e8cc57efc1f69f0d6dd57a6e9bc38ea8e4afd.tar.bz2
samba-202e8cc57efc1f69f0d6dd57a6e9bc38ea8e4afd.zip
doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.
Guenther (This used to be commit 91a55fc27dc100cf193cfa2613771312f018449e)
-rw-r--r--source3/include/doserr.h2
-rw-r--r--source3/libsmb/doserr.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index 1d1cc49051..684f17298f 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -211,6 +211,8 @@
#define WERR_LOGON_FAILURE W_ERROR(1326)
#define WERR_NO_SUCH_DOMAIN W_ERROR(1355)
#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338)
+#define WERR_INVALID_DOMAIN_STATE W_ERROR(1353)
+#define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354)
#define WERR_TIME_SKEW W_ERROR(1398)
#define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500)
#define WERR_SERVER_UNAVAILABLE W_ERROR(1722)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index cd3c2fef5e..fb5f2e1bac 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -86,6 +86,8 @@ werror_code_struct dos_errs[] =
{ "WERR_PASSWORD_RESTRICTION", WERR_PASSWORD_RESTRICTION },
{ "WERR_NO_SUCH_DOMAIN", WERR_NO_SUCH_DOMAIN },
{ "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
+ { "WERR_INVALID_DOMAIN_STATE", WERR_INVALID_DOMAIN_STATE },
+ { "WERR_INVALID_DOMAIN_ROLE", WERR_INVALID_DOMAIN_ROLE },
{ "WERR_TIME_SKEW", WERR_TIME_SKEW },
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },