summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-11 18:59:21 +0100
committerGünther Deschner <gd@samba.org>2008-11-18 16:00:40 +0100
commitee81191d5c0a6d220b162b8f555a01e6667fbff8 (patch)
treed443c2aaacb9ca3e9d4e95f06385a2e1cf0f5637 /source3
parent2ac4b434302ad5e9c105a709fe02431f17a0fecc (diff)
downloadsamba-ee81191d5c0a6d220b162b8f555a01e6667fbff8.tar.gz
samba-ee81191d5c0a6d220b162b8f555a01e6667fbff8.tar.bz2
samba-ee81191d5c0a6d220b162b8f555a01e6667fbff8.zip
s3-net: add net_dc_info struct.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index 5dc2b11d4e..2d72756def 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