summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-22 17:14:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:05 -0500
commite94c88cedc97cb59ff6c73c5bf82d343925a0fa9 (patch)
treeeccba1c872783bca6aeb594c5c64390f820efae3 /source4/librpc/idl
parent5e2f7e9ae28277d975c3b9e889e0501bf192d2ea (diff)
downloadsamba-e94c88cedc97cb59ff6c73c5bf82d343925a0fa9.tar.gz
samba-e94c88cedc97cb59ff6c73c5bf82d343925a0fa9.tar.bz2
samba-e94c88cedc97cb59ff6c73c5bf82d343925a0fa9.zip
r3914: add idl, torture test and simple server for netr_DrsGetDCNameEx2()
metze (This used to be commit 1ffabbaa667c7dec6657ec523f92f072a2a47a95)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/netlogon.idl23
1 files changed, 22 insertions, 1 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 45632a022d..0f44c0616d 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -1007,7 +1007,28 @@ interface netlogon
/****************/
/* Function 0x22 */
- WERROR netr_DSRGETDCNAMEEX2();
+ typedef struct {
+ unistr *dc_unc;
+ unistr *dc_address;
+ int32 dc_address_type;
+ GUID domain_guid;
+ unistr *domain_name;
+ unistr *forest_name;
+ uint32 dc_flags;
+ unistr *dc_site_name;
+ unistr *client_site_name;
+ } netr_DrsGetDCNameEx2Info;
+
+ WERROR netr_DrsGetDCNameEx2(
+ [in] unistr *server_unc,
+ [in] unistr *client_account,
+ [in] uint32 mask,
+ [in] unistr *domain_name,
+ [in] GUID *domain_guid,
+ [in] unistr *site_name,
+ [in] uint32 flags,
+ [out] netr_DrsGetDCNameEx2Info *info
+ );
/****************/
/* Function 0x23 */