summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-11 01:18:04 +0200
committerGünther Deschner <gd@samba.org>2010-09-15 08:32:58 +0200
commit45d772e0e616186cd8b45c81d7c775e07ab0d7ae (patch)
treea763a7dd8f0f6d97c524ea0c33e886251143e1c1 /source3
parent5901e81acff9b6da965782276e457069bf2be55d (diff)
downloadsamba-45d772e0e616186cd8b45c81d7c775e07ab0d7ae.tar.gz
samba-45d772e0e616186cd8b45c81d7c775e07ab0d7ae.tar.bz2
samba-45d772e0e616186cd8b45c81d7c775e07ab0d7ae.zip
libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/idl/libnetapi.idl20
1 files changed, 19 insertions, 1 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl
index c57048d959..f83896cf72 100644
--- a/source3/librpc/idl/libnetapi.idl
+++ b/source3/librpc/idl/libnetapi.idl
@@ -800,6 +800,24 @@ interface libnetapi
/* DsGetDcName */
/*******************************************/
+ [public] typedef [v1_enum] enum {
+ DS_PDC_FLAG = 0x00000001,
+ DS_GC_FLAG = 0x00000004,
+ DS_LDAP_FLAG = 0x00000008,
+ DS_DS_FLAG = 0x00000010,
+ DS_KDC_FLAG = 0x00000020,
+ DS_TIMESERV_FLAG = 0x00000040,
+ DS_CLOSEST_FLAG = 0x00000080,
+ DS_WRITABLE_FLAG = 0x00000100,
+ DS_GOOD_TIMESERV_FLAG = 0x00000200,
+ DS_NDNC_FLAG = 0x00000400,
+ DS_SELECT_SECRET_DOMAIN_6_FLAG = 0x00000800,
+ DS_FULL_SECRET_DOMAIN_6_FLAG = 0x00001000,
+ DS_DNS_CONTROLLER_FLAG = 0x20000000,
+ DS_DNS_DOMAIN_FLAG = 0x40000000,
+ DS_DNS_FOREST_FLAG = 0x80000000
+ } DOMAIN_CONTROLLER_INFO_FLAGS;
+
[public] typedef struct {
string domain_controller_name;
string domain_controller_address;
@@ -807,7 +825,7 @@ interface libnetapi
GUID domain_guid;
string domain_name;
string dns_forest_name;
- uint32 flags;
+ DOMAIN_CONTROLLER_INFO_FLAGS flags;
string dc_site_name;
string client_site_name;
} DOMAIN_CONTROLLER_INFO;