From 44912a9fb9e2cf96b0117790fb6d5e4e7c6eca45 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Apr 2008 02:23:20 +0200 Subject: errors: Add WERR_NONE_MAPPED. Guenther (This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a) --- source3/include/doserr.h | 1 + source3/libsmb/doserr.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'source3') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 684f17298f..a99475a4e7 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -210,6 +210,7 @@ #define WERR_PASSWORD_RESTRICTION W_ERROR(1325) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) +#define WERR_NONE_MAPPED W_ERROR(1332) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_INVALID_DOMAIN_STATE W_ERROR(1353) #define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354) diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c index fb5f2e1bac..3ac1568122 100644 --- a/source3/libsmb/doserr.c +++ b/source3/libsmb/doserr.c @@ -85,6 +85,7 @@ werror_code_struct dos_errs[] = { "WERR_LOGON_FAILURE", WERR_LOGON_FAILURE }, { "WERR_PASSWORD_RESTRICTION", WERR_PASSWORD_RESTRICTION }, { "WERR_NO_SUCH_DOMAIN", WERR_NO_SUCH_DOMAIN }, + { "WERR_NONE_MAPPED", WERR_NONE_MAPPED }, { "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR }, { "WERR_INVALID_DOMAIN_STATE", WERR_INVALID_DOMAIN_STATE }, { "WERR_INVALID_DOMAIN_ROLE", WERR_INVALID_DOMAIN_ROLE }, @@ -130,6 +131,7 @@ werror_str_struct dos_err_strs[] = { { WERR_TIME_SKEW, "Time difference between client and server" }, { WERR_USER_ALREADY_EXISTS, "User already exists" }, { WERR_PASSWORD_RESTRICTION, "Password does not meet restrictions" }, + { WERR_NONE_MAPPED, "Could not map names to SIDs" }, }; /***************************************************************************** -- cgit