summaryrefslogtreecommitdiff
path: root/source3/libsmb/doserr.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-18 01:04:40 +0100
committerMichael Adam <obnox@samba.org>2008-01-18 01:10:55 +0100
commit80d7cccfe7d6179da75c00481f2116dae6755682 (patch)
treed6858473f382965c01f26d79160d60c4a3317781 /source3/libsmb/doserr.c
parentadd597f77c245807905f62b81cad52b03d7a7c74 (diff)
downloadsamba-80d7cccfe7d6179da75c00481f2116dae6755682.tar.gz
samba-80d7cccfe7d6179da75c00481f2116dae6755682.tar.bz2
samba-80d7cccfe7d6179da75c00481f2116dae6755682.zip
Add and correct some WERROR codes.
Michael (This used to be commit 7aec862ddc2aa2b5152c3a452971e55ba43646a5)
Diffstat (limited to 'source3/libsmb/doserr.c')
-rw-r--r--source3/libsmb/doserr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index 79445a2410..174db312c8 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -74,7 +74,7 @@ werror_code_struct dos_errs[] =
{ "WERR_DFS_INTERNAL_ERROR", WERR_DFS_INTERNAL_ERROR },
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
{ "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED },
- { "WERR_DOMAIN_CONTROLLER_NOT_FOUND", WERR_DOMAIN_CONTROLLER_NOT_FOUND },
+ { "WERR_DC_NOT_FOUND", WERR_DC_NOT_FOUND },
{ "WERR_SETUP_NOT_JOINED", WERR_SETUP_NOT_JOINED },
{ "WERR_SETUP_ALREADY_JOINED", WERR_SETUP_ALREADY_JOINED },
{ "WERR_SETUP_DOMAIN_CONTROLLER", WERR_SETUP_DOMAIN_CONTROLLER },
@@ -96,6 +96,9 @@ werror_code_struct dos_errs[] =
{ "WERR_SERVICE_DISABLED", WERR_SERVICE_DISABLED },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE},
{ "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS},
+ { "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE },
+ { "WERR_DOMAIN_CONTROLLER_NOT_FOUND", WERR_DOMAIN_CONTROLLER_NOT_FOUND },
+ { "WERR_ACCOUNT_LOCKED_OUT", WERR_ACCOUNT_LOCKED_OUT },
{ NULL, W_ERROR(0) }
};
@@ -109,11 +112,14 @@ werror_str_struct dos_err_strs[] = {
{ WERR_NO_LOGON_SERVERS, "No logon servers found" },
{ WERR_NO_SUCH_LOGON_SESSION, "No such logon session" },
{ WERR_DOMAIN_CONTROLLER_NOT_FOUND, "A domain controller could not be found" },
+ { WERR_DC_NOT_FOUND, "A domain controller could not be found" },
{ WERR_SETUP_NOT_JOINED, "Join failed" },
{ WERR_SETUP_ALREADY_JOINED, "Machine is already joined" },
{ WERR_SETUP_DOMAIN_CONTROLLER, "Machine is a Domain Controller" },
{ WERR_LOGON_FAILURE, "Invalid logon credentials" },
{ WERR_USER_EXISTS, "User account already exists" },
+ { WERR_PASSWORD_MUST_CHANGE, "The password must be changed" },
+ { WERR_ACCOUNT_LOCKED_OUT, "Account locked out" },
};
/*****************************************************************************