summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/libnetapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/gen_ndr/libnetapi.h')
-rw-r--r--source3/librpc/gen_ndr/libnetapi.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h
index 8247e9e64f..88fe43ac78 100644
--- a/source3/librpc/gen_ndr/libnetapi.h
+++ b/source3/librpc/gen_ndr/libnetapi.h
@@ -17,6 +17,18 @@ enum NET_API_STATUS
#endif
;
+struct DOMAIN_CONTROLLER_INFO {
+ const char * domain_controller_name;
+ const char * domain_controller_address;
+ uint32_t domain_controller_address_type;
+ struct GUID domain_guid;
+ const char * domain_name;
+ const char * dns_forest_name;
+ uint32_t flags;
+ const char * dc_site_name;
+ const char * client_site_name;
+};
+
struct NetJoinDomain {
struct {
@@ -137,4 +149,21 @@ struct NetGetAnyDCName {
};
+
+struct DsGetDcName {
+ struct {
+ const char * server_name;/* [unique] */
+ const char * domain_name;/* [ref] */
+ struct GUID *domain_guid;/* [unique] */
+ const char * site_name;/* [unique] */
+ uint32_t flags;
+ } in;
+
+ struct {
+ struct DOMAIN_CONTROLLER_INFO **dc_info;/* [ref] */
+ enum NET_API_STATUS result;
+ } out;
+
+};
+
#endif /* _HEADER_libnetapi */