summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-09-27 17:10:14 +1000
committerAndrew Tridgell <tridge@samba.org>2011-10-20 05:53:05 +0200
commit65f9a13dc3f3e26aa3f7a9d90abe94a7b2e6bc77 (patch)
tree0e90e398b83751bee36a812c8bc3ee3040cc2271 /librpc/idl
parent0f84c634fc035f31e284b95b93e66be1a541c680 (diff)
downloadsamba-65f9a13dc3f3e26aa3f7a9d90abe94a7b2e6bc77.tar.gz
samba-65f9a13dc3f3e26aa3f7a9d90abe94a7b2e6bc77.tar.bz2
samba-65f9a13dc3f3e26aa3f7a9d90abe94a7b2e6bc77.zip
s4-dns: Added support for multiple DNS_RPC_RECORDS structures
Windows returns multiple DNS_RPC_RECORDS structures, but there is no well defined structure in [MS-DNSP] doc. Added hand-written code to parse ndr. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/dnsserver.idl6
1 files changed, 4 insertions, 2 deletions
diff --git a/librpc/idl/dnsserver.idl b/librpc/idl/dnsserver.idl
index 0868d6fb6a..306414e979 100644
--- a/librpc/idl/dnsserver.idl
+++ b/librpc/idl/dnsserver.idl
@@ -9,7 +9,9 @@ import "misc.idl", "dnsp.idl";
[ uuid("50abc2a4-574d-40b3-9d66-ee4fd5fba076"),
version(5.0),
pointer_default(unique),
- helpstring("DNS Server")
+ endpoint("ncacn_ip_tcp:", "ncacn_np:[\\pipe\\dnsserver]"),
+ helper("../librpc/ndr/ndr_dnsserver.h"),
+ helpstring("DNS Management Server")
] interface dnsserver
{
@@ -1499,7 +1501,7 @@ import "misc.idl", "dnsp.idl";
[in,unique,string,charset(UTF8)] uint8 *pszFilterStart,
[in,unique,string,charset(UTF8)] uint8 *pszFilterStop,
[out] uint32 *pdwBufferLength,
- [out,unique,subcontext(4),subcontext_size(*pdwBufferLength)] DNS_RPC_RECORDS *pBuffer
+ [out,ref,subcontext(4),subcontext_size(*pdwBufferLength)] DNS_RPC_RECORDS_ARRAY **pBuffer
);
WERROR DnssrvUpdateRecord2(