libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.
authorGünther Deschner <gd@samba.org>
Fri, 10 Sep 2010 23:18:04 +0000 (01:18 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 15 Sep 2010 06:32:58 +0000 (08:32 +0200)
Guenther

source3/librpc/idl/libnetapi.idl

index c57048d9597fb26185137f81153d747752bb6e68..f83896cf728dc96d2aea837fb7427882008cbd93 100644 (file)
@@ -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;