summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2012-03-11 00:25:57 +0100
committerKai Blin <kai@samba.org>2012-03-11 02:27:45 +0100
commit26a0e7a3f5ba7f8d6af2d2b8d7a6acf1323e8c57 (patch)
treebcf9a42b972bcfee3eb050e40678ae75a55b4bca /source4/dns_server
parent1e6ef242ec65e4f8e9c8ffa44a09581b28c2599a (diff)
downloadsamba-26a0e7a3f5ba7f8d6af2d2b8d7a6acf1323e8c57.tar.gz
samba-26a0e7a3f5ba7f8d6af2d2b8d7a6acf1323e8c57.tar.bz2
samba-26a0e7a3f5ba7f8d6af2d2b8d7a6acf1323e8c57.zip
s4 dns: Test deleting records and fix a small bu
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Mar 11 02:27:45 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/dns_update.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c
index ca1708b060..3d7ecce126 100644
--- a/source4/dns_server/dns_update.c
+++ b/source4/dns_server/dns_update.c
@@ -628,6 +628,10 @@ static WERROR handle_one_update(struct dns_server *dns,
ZERO_STRUCT(recs[i]);
}
}
+
+ werror = dns_replace_records(dns, mem_ctx, dn,
+ needs_add, recs, rcount);
+ W_ERROR_NOT_OK_RETURN(werror);
}
return WERR_OK;