diff options
author | Günther Deschner <gd@samba.org> | 2008-04-16 02:23:20 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-16 02:23:20 +0200 |
commit | 44912a9fb9e2cf96b0117790fb6d5e4e7c6eca45 (patch) | |
tree | ccc107e251ca942197fbefb1fee2463a48c88268 | |
parent | 0a362a94c8f720ad0805c0789433d3e70b86d1c3 (diff) | |
download | samba-44912a9fb9e2cf96b0117790fb6d5e4e7c6eca45.tar.gz samba-44912a9fb9e2cf96b0117790fb6d5e4e7c6eca45.tar.bz2 samba-44912a9fb9e2cf96b0117790fb6d5e4e7c6eca45.zip |
errors: Add WERR_NONE_MAPPED.
Guenther
(This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a)
-rw-r--r-- | source3/include/doserr.h | 1 | ||||
-rw-r--r-- | source3/libsmb/doserr.c | 2 |
2 files changed, 3 insertions, 0 deletions
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" }, }; /***************************************************************************** |