summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-20 12:43:11 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:49 +0100
commite66d7d8074f01536ad49ed1195d1503b2f162938 (patch)
tree74212c4562b9e5b3e70bc9c55fa07c4d88552b1e /source4/libcli
parente399a606f512df15316bc5e804384ffa475ca446 (diff)
downloadsamba-e66d7d8074f01536ad49ed1195d1503b2f162938.tar.gz
samba-e66d7d8074f01536ad49ed1195d1503b2f162938.tar.bz2
samba-e66d7d8074f01536ad49ed1195d1503b2f162938.zip
r26060: Add some error codes from remote join api.
Guenther (This used to be commit 73f231cba3fde4b2c5078b7c6dd52c3dac8cd1ce)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/doserr.c3
-rw-r--r--source4/libcli/util/werror.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index 19984cf2e9..b480946401 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -62,6 +62,9 @@ static const struct werror_code_struct dos_errs[] =
{ "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_SETUP_NOT_JOINED", WERR_SETUP_NOT_JOINED },
+ { "WERR_SETUP_ALREADY_JOINED", WERR_SETUP_ALREADY_JOINED },
+ { "WERR_SETUP_DOMAIN_CONTROLLER", WERR_SETUP_DOMAIN_CONTROLLER },
{ "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/werror.h b/source4/libcli/util/werror.h
index 532dc2ed8c..4de3092d9f 100644
--- a/source4/libcli/util/werror.h
+++ b/source4/libcli/util/werror.h
@@ -116,6 +116,11 @@ typedef uint32_t WERROR;
#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_SETUP_ALREADY_JOINED W_ERROR(2691)
+#define WERR_SETUP_NOT_JOINED W_ERROR(2692)
+#define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(2693)
+
#define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319)
#define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105)