summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/netlogon.idl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/idl/netlogon.idl')
-rw-r--r--source4/librpc/idl/netlogon.idl52
1 files changed, 35 insertions, 17 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 80d1026b0a..784c8d6655 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -896,7 +896,26 @@ interface netlogon
/*****************/
/* Function 0x14 */
- WERROR netr_DSRGETDCNAME() ;
+ typedef struct {
+ [string,charset(UTF16)] uint16 *dc_unc;
+ [string,charset(UTF16)] uint16 *dc_address;
+ int32 dc_address_type;
+ GUID domain_guid;
+ [string,charset(UTF16)] uint16 *domain_name;
+ [string,charset(UTF16)] uint16 *forest_name;
+ uint32 dc_flags;
+ [string,charset(UTF16)] uint16 *dc_site_name;
+ [string,charset(UTF16)] uint16 *client_site_name;
+ } netr_DsRGetDCNameInfo;
+
+ WERROR netr_DsRGetDCName(
+ [in] [string,charset(UTF16)] uint16 *server_unc,
+ [in] [string,charset(UTF16)] uint16 *domain_name,
+ [in] GUID *domain_guid,
+ [in] GUID *site_guid,
+ [in] uint32 flags,
+ [out] netr_DsRGetDCNameInfo *info
+ );
/*****************/
/* Function 0x15 */
@@ -932,11 +951,22 @@ interface netlogon
/****************/
/* Function 0x1b */
- WERROR netr_DSRGETDCNAMEX();
+
+ WERROR netr_DsRGetDCNameEx(
+ [in] [string,charset(UTF16)] uint16 *server_unc,
+ [in] [string,charset(UTF16)] uint16 *domain_name,
+ [in] GUID *domain_guid,
+ [in] [string,charset(UTF16)] uint16 *site_name,
+ [in] uint32 flags,
+ [out] netr_DsRGetDCNameInfo *info
+ );
/****************/
/* Function 0x1c */
- WERROR netr_DSRGETSITENAME();
+ WERROR netr_DsRGetSiteName(
+ [in] [string,charset(UTF16)] uint16 *computer_name,
+ [out] [string,charset(UTF16)] uint16 *site
+ );
/****************/
/* Function 0x1d */
@@ -1035,19 +1065,7 @@ interface netlogon
/****************/
/* Function 0x22 */
- typedef struct {
- [string,charset(UTF16)] uint16 *dc_unc;
- [string,charset(UTF16)] uint16 *dc_address;
- int32 dc_address_type;
- GUID domain_guid;
- [string,charset(UTF16)] uint16 *domain_name;
- [string,charset(UTF16)] uint16 *forest_name;
- uint32 dc_flags;
- [string,charset(UTF16)] uint16 *dc_site_name;
- [string,charset(UTF16)] uint16 *client_site_name;
- } netr_DrsGetDCNameEx2Info;
-
- WERROR netr_DrsGetDCNameEx2(
+ WERROR netr_DsRGetDCNameEx2(
[in] [string,charset(UTF16)] uint16 *server_unc,
[in] [string,charset(UTF16)] uint16 *client_account,
[in] uint32 mask,
@@ -1055,7 +1073,7 @@ interface netlogon
[in] GUID *domain_guid,
[in] [string,charset(UTF16)] uint16 *site_name,
[in] uint32 flags,
- [out] netr_DrsGetDCNameEx2Info *info
+ [out] netr_DsRGetDCNameInfo *info
);
/****************/