summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-26 09:49:13 +0200
committerGünther Deschner <gd@samba.org>2008-06-26 10:24:02 +0200
commit5a4cf3dbf24809a61d4d1d62036e05f5d108d0f6 (patch)
treef6c0a069023b27eafc5ce0846e0debfdb152c541
parent9f71be12504495f92ed495279a977274462738a9 (diff)
downloadsamba-5a4cf3dbf24809a61d4d1d62036e05f5d108d0f6.tar.gz
samba-5a4cf3dbf24809a61d4d1d62036e05f5d108d0f6.tar.bz2
samba-5a4cf3dbf24809a61d4d1d62036e05f5d108d0f6.zip
errors: add WERR_DS_DRA_BAD_NC and WERR_DS_DRA_BAD_DN.
Guenther (This used to be commit 2efe18f7c96d8d122943342b9af1db62a1432771)
-rw-r--r--source3/include/doserr.h3
-rw-r--r--source3/libsmb/doserr.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index b027ba4f9b..c455f7a3c9 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -235,6 +235,9 @@
#define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319)
#define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105)
+#define WERR_DS_DRA_BAD_DN W_ERROR(8439)
+#define WERR_DS_DRA_BAD_NC W_ERROR(8440)
+
#define WERR_PRINTER_DRIVER_ALREADY_INSTALLED W_ERROR(ERRdriveralreadyinstalled)
#define WERR_UNKNOWN_PORT W_ERROR(ERRunknownprinterport)
#define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(ERRunknownprinterdriver)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index 12999e7d80..bbb12e0a29 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -118,6 +118,8 @@ werror_code_struct dos_errs[] =
{ "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE },
{ "WERR_DOMAIN_CONTROLLER_NOT_FOUND", WERR_DOMAIN_CONTROLLER_NOT_FOUND },
{ "WERR_ACCOUNT_LOCKED_OUT", WERR_ACCOUNT_LOCKED_OUT },
+ { "WERR_DS_DRA_BAD_DN", WERR_DS_DRA_BAD_DN },
+ { "WERR_DS_DRA_BAD_NC", WERR_DS_DRA_BAD_NC },
{ NULL, W_ERROR(0) }
};
@@ -145,6 +147,8 @@ werror_str_struct dos_err_strs[] = {
{ WERR_NONE_MAPPED, "Could not map names to SIDs" },
{ WERR_NO_SUCH_USER, "No such User" },
{ WERR_GROUP_EXISTS, "Group already exists" },
+ { WERR_DS_DRA_BAD_DN, "An invalid distinguished name was specified for this replication" },
+ { WERR_DS_DRA_BAD_NC, "An invalid naming context was specified for this replication operation" },
};
/*****************************************************************************