summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-09-17 06:03:47 +0300
committerGünther Deschner <gd@samba.org>2009-09-17 07:18:51 +0200
commit35f4b88c7c6a16664efef95d441389e3d2bc8c4c (patch)
tree764d065789df4360abbdc5193226ddc2af982f6c /source3
parent8bebce45d33babc22dea4bb10f661ea502d8bbdd (diff)
downloadsamba-35f4b88c7c6a16664efef95d441389e3d2bc8c4c.tar.gz
samba-35f4b88c7c6a16664efef95d441389e3d2bc8c4c.tar.bz2
samba-35f4b88c7c6a16664efef95d441389e3d2bc8c4c.zip
w32err: use WERR_DC_NOT_FOUND name instead of WERR_DOMAIN_CONTROLLER_NOT_FOUND
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 5315fccff6..cd476868e3 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1828,7 +1828,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
"failed to find DC for domain %s",
r->in.domain_name,
get_friendly_nt_error_msg(status));
- return WERR_DOMAIN_CONTROLLER_NOT_FOUND;
+ return WERR_DC_NOT_FOUND;
}
dc = strip_hostname(info->dc_unc);
@@ -2019,7 +2019,7 @@ static WERROR libnet_DomainUnjoin(TALLOC_CTX *mem_ctx,
"failed to find DC for domain %s",
r->in.domain_name,
get_friendly_nt_error_msg(status));
- return WERR_DOMAIN_CONTROLLER_NOT_FOUND;
+ return WERR_DC_NOT_FOUND;
}
dc = strip_hostname(info->dc_unc);