errors: Add WERR_NO_SUCH_USER.
authorGünther Deschner <gd@samba.org>
Wed, 16 Apr 2008 00:37:27 +0000 (02:37 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 16 Apr 2008 00:37:27 +0000 (02:37 +0200)
Guenther
(This used to be commit 82803186febfe6a55c1a598073657c2c4a513000)

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

index a99475a4e73728feb8532d178c931beeb4f6a4c5..65892d3abd89e522363595999645e28cacd4d22f 100644 (file)
 #define WERR_NO_LOGON_SERVERS W_ERROR(1311)
 #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_PASSWORD_RESTRICTION W_ERROR(1325)
 #define WERR_LOGON_FAILURE W_ERROR(1326)
 #define WERR_NO_SUCH_DOMAIN W_ERROR(1355)
index 3ac15681221c1cf4c0d6cd990b8076822cf3877e..8761106e58c6444d639c8fac40ad5cd787648bb1 100644 (file)
@@ -67,6 +67,7 @@ werror_code_struct dos_errs[] =
        { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS },
        { "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_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 },
@@ -132,6 +133,7 @@ werror_str_struct dos_err_strs[] = {
        { WERR_USER_ALREADY_EXISTS, "User already exists" },
        { WERR_PASSWORD_RESTRICTION, "Password does not meet restrictions" },
        { WERR_NONE_MAPPED, "Could not map names to SIDs" },
+       { WERR_NO_SUCH_USER, "No such User" },
 };
 
 /*****************************************************************************