errors: Add WERR_NONE_MAPPED.
authorGünther Deschner <gd@samba.org>
Wed, 16 Apr 2008 00:23:20 +0000 (02:23 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 16 Apr 2008 00:23:20 +0000 (02:23 +0200)
Guenther
(This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a)

source3/include/doserr.h
source3/libsmb/doserr.c

index 684f17298f7586e77bf089e9f241f6dceb4fc47a..a99475a4e73728feb8532d178c931beeb4f6a4c5 100644 (file)
 #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)
index fb5f2e1bacb20cd27a46b6a2e1ca40a0189fdf52..3ac15681221c1cf4c0d6cd990b8076822cf3877e 100644 (file)
@@ -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" },
 };
 
 /*****************************************************************************