summaryrefslogtreecommitdiff
path: root/libcli/util/doserr.c
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-09-18 00:46:52 +0300
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2009-09-30 15:48:40 +0300
commitd9994a604bd51949a9869927bdc2cb512fba9171 (patch)
tree0bfb430240f8c6baea7f1640e5a4e96067e22981 /libcli/util/doserr.c
parent0e64fcb18f22f31b9004e43f701ea109cef6075d (diff)
downloadsamba-d9994a604bd51949a9869927bdc2cb512fba9171.tar.gz
samba-d9994a604bd51949a9869927bdc2cb512fba9171.tar.bz2
samba-d9994a604bd51949a9869927bdc2cb512fba9171.zip
w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUND
It turns out in win32 ERROR_DC_NOT_FOUND exists and it is an error for Device Context (DC), not Domain Controller Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Diffstat (limited to 'libcli/util/doserr.c')
-rw-r--r--libcli/util/doserr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c
index 5e74138467..2d33935d8f 100644
--- a/libcli/util/doserr.c
+++ b/libcli/util/doserr.c
@@ -105,7 +105,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_INVALID_COMPUTERNAME", WERR_INVALID_COMPUTERNAME },
{ "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME },
{ "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED },
- { "WERR_DC_NOT_FOUND", WERR_DC_NOT_FOUND },
+ { "WERR_DCNOTFOUND", WERR_DCNOTFOUND },
{ "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS },
{ "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION },
{ "WERR_NO_SUCH_PRIVILEGE", WERR_NO_SUCH_PRIVILEGE },
@@ -260,7 +260,7 @@ const struct 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_DCNOTFOUND, "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" },