summaryrefslogtreecommitdiffstats
path: root/source4/librpc
diff options
context:
space:
mode:
authorSamuel Cabrero <samuelcabrero@kernevil.me>2014-12-16 10:58:50 +0100
committerGarming Sam <garming@samba.org>2014-12-22 05:57:08 +0100
commit4fb29e9347271acd66833d471a84e39a525f4f18 (patch)
tree57c4021f0da81907e1fd5029b00257ee92154730 /source4/librpc
parentee4324ddc24dc6d92b2fdcf87e8dc63c631e2444 (diff)
downloadsamba-4fb29e9347271acd66833d471a84e39a525f4f18.tar.gz
samba-4fb29e9347271acd66833d471a84e39a525f4f18.tar.xz
samba-4fb29e9347271acd66833d471a84e39a525f4f18.zip
s4-dns: Reload DNS zones from dsdb when zones are modified through RPC or DRS
Setup a RPC management call on the internal DNS server triggered a new LDB module which sniffs dnsZone object add, delete and modify operations. This way the notification is triggered when zones are modified either from RPC or replicated by inbound DRS. Signed-off-by: Samuel Cabrero <samuelcabrero@kernevil.me> (shadowed variable error corrected by abartlet) Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/irpc.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl
index 6a55eef953..65ae4b6c5d 100644
--- a/source4/librpc/idl/irpc.idl
+++ b/source4/librpc/idl/irpc.idl
@@ -207,4 +207,15 @@ import "misc.idl", "security.idl", "nbt.idl", "netlogon.idl", "server_id.idl";
[in] uint32 dns_ttl,
[in,out,ref] NL_DNS_NAME_INFO_ARRAY *dns_names
);
+
+ /******************************************************
+ * Management calls for the dns server
+ ******************************************************/
+ /**
+ * Force internal DNS server to reload the DNS zones.
+ *
+ * Called when zones are added or deleted through RPC
+ * or replicated by DRS.
+ */
+ NTSTATUS dnssrv_reload_dns_zones();
}