summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-08 14:37:09 +0200
committerGünther Deschner <gd@samba.org>2008-04-08 19:40:47 +0200
commit3e0eab2a57241dfe16b20e58865743b19f26680e (patch)
tree6115e7c6842b932cf430eac04ace97d58a1f42ba /source3/librpc
parent6531d0b13fe20447834ed974b582d228002c2fe6 (diff)
downloadsamba-3e0eab2a57241dfe16b20e58865743b19f26680e.tar.gz
samba-3e0eab2a57241dfe16b20e58865743b19f26680e.tar.bz2
samba-3e0eab2a57241dfe16b20e58865743b19f26680e.zip
Add DsGetDCName call to libnetapi.idl.
Guenther (This used to be commit e8cea4db013de63ec0eb9f8c9db530688483e5b6)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/libnetapi.idl22
1 files changed, 22 insertions, 0 deletions
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
+ );
+
}