summaryrefslogtreecommitdiffstats
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-08 10:32:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:13 -0500
commiteb9ae52981d0275d3830fb533a06472aef3508db (patch)
treee112491567769b78f1856c9fcdd9976e6cffd3ab /source4/libcli/util
parent3cc5429b46c7a3c3902525af57899c0256284886 (diff)
downloadsamba-eb9ae52981d0275d3830fb533a06472aef3508db.tar.gz
samba-eb9ae52981d0275d3830fb533a06472aef3508db.tar.xz
samba-eb9ae52981d0275d3830fb533a06472aef3508db.zip
r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0. Guenther (This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/doserr.c1
-rw-r--r--source4/libcli/util/doserr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index 716ca438db..76c59570a9 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -63,6 +63,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_JOB_NOT_FOUND", WERR_JOB_NOT_FOUND },
{ "WERR_DEST_NOT_FOUND", WERR_DEST_NOT_FOUND },
{ "WERR_NOT_LOCAL_DOMAIN", WERR_NOT_LOCAL_DOMAIN },
+ { "WERR_DOMAIN_CONTROLLER_NOT_FOUND", WERR_DOMAIN_CONTROLLER_NOT_FOUND },
{ "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE },
{ "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE },
{ "WERR_STATUS_MORE_ENTRIES", WERR_STATUS_MORE_ENTRIES },
diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h
index ddcc060eb6..b091a290b9 100644
--- a/source4/libcli/util/doserr.h
+++ b/source4/libcli/util/doserr.h
@@ -214,6 +214,7 @@
#define WERR_SESSION_NOT_FOUND W_ERROR(2312)
#define WERR_FID_NOT_FOUND W_ERROR(2314)
#define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320)
+#define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453)
#define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319)
#define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105)