diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-10-31 02:12:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:31 -0500 |
commit | 56b4e4b62ce452515ec1b390eb578f55a195fdf9 (patch) | |
tree | 09b39edd4451ce63c3e5ee88ea1890247a81116d /source4/librpc/idl | |
parent | cfa2adf04017c9491d4cc6a69a0bbd4869061b6d (diff) | |
download | samba-56b4e4b62ce452515ec1b390eb578f55a195fdf9.tar.gz samba-56b4e4b62ce452515ec1b390eb578f55a195fdf9.tar.bz2 samba-56b4e4b62ce452515ec1b390eb578f55a195fdf9.zip |
r11402: In response to comments by volker, expand our Netlogon DsRGetDCName
IDL and testsuites. The server-side of this remains a stub, we should
probably be doing ldb searches for the server reference record.
Andrew Bartlett
(This used to be commit 0141ed309a664e7a9893c95232c2dcb9768f9315)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 52 |
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 ); /****************/ |