From: Günther Deschner Date: Tue, 11 Nov 2008 17:59:21 +0000 (+0100) Subject: s3-net: add net_dc_info struct. X-Git-Tag: samba-4.0.0alpha6~480^2~206 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee81191d5c0a6d220b162b8f555a01e6667fbff8;p=thirdparty%2Fsamba.git s3-net: add net_dc_info struct. Guenther --- diff --git a/source3/utils/net.h b/source3/utils/net.h index 5dc2b11d4e5..2d72756defb 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -70,6 +70,16 @@ struct net_context { void *private_data; }; +struct net_dc_info { + bool is_dc; + bool is_pdc; + bool is_ad; + bool is_mixed_mode; + const char *netbios_domain_name; + const char *dns_domain_name; + const char *forest_name; +}; + #define NET_TRANSPORT_LOCAL 0x01 #define NET_TRANSPORT_RAP 0x02 #define NET_TRANSPORT_RPC 0x04