From 3e0eab2a57241dfe16b20e58865743b19f26680e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 8 Apr 2008 14:37:09 +0200 Subject: Add DsGetDCName call to libnetapi.idl. Guenther (This used to be commit e8cea4db013de63ec0eb9f8c9db530688483e5b6) --- source3/librpc/idl/libnetapi.idl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'source3/librpc') diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index 97eccc23b0..679afb0aef 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/librpc/idl/libnetapi.idl @@ -68,4 +68,26 @@ interface libnetapi [in,unique] string *domain_name, [out] uint8 **buffer ); + + [public] typedef struct { + string domain_controller_name; + string domain_controller_address; + uint32 domain_controller_address_type; + GUID domain_guid; + string domain_name; + string dns_forest_name; + uint32 flags; + string dc_site_name; + string client_site_name; + } DOMAIN_CONTROLLER_INFO; + + [nopush,nopull] NET_API_STATUS DsGetDcName( + [in,unique] string *server_name, + [in,ref] string *domain_name, + [in,unique] GUID *domain_guid, + [in,unique] string *site_name, + [in] uint32 flags, + [out,ref] DOMAIN_CONTROLLER_INFO **dc_info + ); + } -- cgit