git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-net: when all DNS servers fail to operate, the overal DNS registration result
[ira/wip.git]
/
source3
/
utils
/
net_ads.c
diff --git
a/source3/utils/net_ads.c
b/source3/utils/net_ads.c
index bb78ecbf12eef5ad65fbd3d144d3b19e77a959f7..c17367a0a40711295571a49b0a13edcd6937b089 100644
(file)
--- 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 */