diff options
author | Günther Deschner <gd@samba.org> | 2008-04-08 14:37:09 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-08 19:40:47 +0200 |
commit | e8cea4db013de63ec0eb9f8c9db530688483e5b6 (patch) | |
tree | 13c03b2a3cac1e04f311b26c18947123f0cda8a2 /source | |
parent | 922ff9d01668c2c2ad10decfd09c0e7b3f0d7592 (diff) | |
download | samba-e8cea4db013de63ec0eb9f8c9db530688483e5b6.tar.gz samba-e8cea4db013de63ec0eb9f8c9db530688483e5b6.tar.xz samba-e8cea4db013de63ec0eb9f8c9db530688483e5b6.zip |
Add DsGetDCName call to libnetapi.idl.
Guenther
Diffstat (limited to 'source')
-rw-r--r-- | source/librpc/idl/libnetapi.idl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/librpc/idl/libnetapi.idl b/source/librpc/idl/libnetapi.idl index 97eccc23b0a..679afb0aef6 100644 --- a/source/librpc/idl/libnetapi.idl +++ b/source/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 + ); + } |