From 7119c8ba1461beafae64ebfe1f26c0e2b893b293 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 10 Oct 2011 13:06:51 +0200 Subject: [PATCH] s3-net: when all DNS servers fail to operate, the overal DNS registration result must be a failure. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Mon Oct 10 15:59:20 CEST 2011 on sn-devel-104 --- source3/utils/net_ads.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index bb78ecbf12e..c17367a0a40 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1200,6 +1200,8 @@ static NTSTATUS net_update_dns_internal(TALLOC_CTX *ctx, ADS_STRUCT *ads, for (i=0; i < ns_count; i++) { + status = NT_STATUS_UNSUCCESSFUL; + /* Now perform the dns update - we'll try non-secure and if we fail, we'll follow it up with a secure update */ -- 2.11.4.GIT