]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-net: add net_dc_info struct.
authorGünther Deschner <gd@samba.org>
Tue, 11 Nov 2008 17:59:21 +0000 (18:59 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 18 Nov 2008 15:00:40 +0000 (16:00 +0100)
Guenther

source3/utils/net.h

index 5dc2b11d4e5da94a2bd4b5d2fe11c497e5ca1911..2d72756defbda1a593e8a768771e9beb2f9e2ee7 100644 (file)
@@ -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