diff options
author | Günther Deschner <gd@samba.org> | 2008-04-16 02:37:27 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-16 02:37:27 +0200 |
commit | c1d4243c5a02dad3159c494697dea9154a6ea199 (patch) | |
tree | 5d1140027f6924094c11da4b6fea024d9ce774a8 | |
parent | 44912a9fb9e2cf96b0117790fb6d5e4e7c6eca45 (diff) | |
download | samba-c1d4243c5a02dad3159c494697dea9154a6ea199.tar.gz samba-c1d4243c5a02dad3159c494697dea9154a6ea199.tar.bz2 samba-c1d4243c5a02dad3159c494697dea9154a6ea199.zip |
errors: Add WERR_NO_SUCH_USER.
Guenther
(This used to be commit 82803186febfe6a55c1a598073657c2c4a513000)
-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 a99475a4e7..65892d3abd 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -207,6 +207,7 @@ #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) diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c index 3ac1568122..8761106e58 100644 --- a/source3/libsmb/doserr.c +++ b/source3/libsmb/doserr.c @@ -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" }, }; /***************************************************************************** |