summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-28 13:57:21 +0200
committerGünther Deschner <gd@samba.org>2008-06-03 01:27:40 +0200
commitff7b8bcebf0f09b6f1b0a9719bd9670a4fc11868 (patch)
tree44b51d3af46fa64fefdfe0ee78d536e869272c5b /source3
parentd8c1f1d24f4c3a065fbb53330f0ed76c31250a3b (diff)
downloadsamba-ff7b8bcebf0f09b6f1b0a9719bd9670a4fc11868.tar.gz
samba-ff7b8bcebf0f09b6f1b0a9719bd9670a4fc11868.tar.bz2
samba-ff7b8bcebf0f09b6f1b0a9719bd9670a4fc11868.zip
doserr: Add WERR_GROUP_EXISTS and WERR_SPECIAL_ACCOUNT.
Guenther (This used to be commit 058cf7001e8a57ff0a1e19aadf3e0e068b7e69f4)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/doserr.h2
-rw-r--r--source3/libsmb/doserr.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index 68dc0c13c0..095414ae3c 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -211,6 +211,7 @@
#define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312)
#define WERR_USER_ALREADY_EXISTS W_ERROR(1316)
#define WERR_NO_SUCH_USER W_ERROR(1317)
+#define WERR_GROUP_EXISTS W_ERROR(1318)
#define WERR_PASSWORD_RESTRICTION W_ERROR(1325)
#define WERR_LOGON_FAILURE W_ERROR(1326)
#define WERR_NO_SUCH_DOMAIN W_ERROR(1355)
@@ -218,6 +219,7 @@
#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_SPECIAL_ACCOUNT W_ERROR(1371)
#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 163656fb55..905ababdfe 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -69,6 +69,7 @@ werror_code_struct dos_errs[] =
{ "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION },
{ "WERR_USER_ALREADY_EXISTS", WERR_USER_ALREADY_EXISTS },
{ "WERR_NO_SUCH_USER", WERR_NO_SUCH_USER },
+ { "WERR_GROUP_EXISTS", WERR_GROUP_EXISTS },
{ "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE },
{ "WERR_STATUS_MORE_ENTRIES ", WERR_STATUS_MORE_ENTRIES },
{ "WERR_DFS_NO_SUCH_VOL", WERR_DFS_NO_SUCH_VOL },
@@ -92,6 +93,7 @@ werror_code_struct dos_errs[] =
{ "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_SPECIAL_ACCOUNT", WERR_SPECIAL_ACCOUNT },
{ "WERR_TIME_SKEW", WERR_TIME_SKEW },
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
@@ -137,6 +139,7 @@ werror_str_struct dos_err_strs[] = {
{ WERR_PASSWORD_RESTRICTION, "Password does not meet restrictions" },
{ WERR_NONE_MAPPED, "Could not map names to SIDs" },
{ WERR_NO_SUCH_USER, "No such User" },
+ { WERR_GROUP_EXISTS, "Group already exists" },
};
/*****************************************************************************