diff options
-rw-r--r-- | source3/lib/netapi/examples/netlogon/nltest.c | 5 | ||||
-rw-r--r-- | source3/lib/netapi/netapi.h | 2 | ||||
-rw-r--r-- | source3/librpc/idl/libnetapi.idl | 4 |
3 files changed, 9 insertions, 2 deletions
diff --git a/source3/lib/netapi/examples/netlogon/nltest.c b/source3/lib/netapi/examples/netlogon/nltest.c index 0c393ea3be..f75a995328 100644 --- a/source3/lib/netapi/examples/netlogon/nltest.c +++ b/source3/lib/netapi/examples/netlogon/nltest.c @@ -149,7 +149,10 @@ static void print_dc_info_flags(uint32_t flags) printf("CLOSE_SITE "); if (flags & DS_FULL_SECRET_DOMAIN_6_FLAG) printf("FULL_SECRET "); - /* "WS" */ + if (flags & DS_WS_FLAG) + printf("WS "); + if (flags & DS_DS_8_FLAG) + printf("DS_8 "); printf("\n"); } diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index c273ae052d..6fc539c8f6 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -1309,6 +1309,8 @@ struct NETLOGON_INFO_4 { #define DS_NDNC_FLAG ( 0x00000400 ) #define DS_SELECT_SECRET_DOMAIN_6_FLAG ( 0x00000800 ) #define DS_FULL_SECRET_DOMAIN_6_FLAG ( 0x00001000 ) +#define DS_WS_FLAG ( 0x00002000 ) +#define DS_DS_8_FLAG ( 0x00004000 ) #define DS_DNS_CONTROLLER_FLAG ( 0x20000000 ) #define DS_DNS_DOMAIN_FLAG ( 0x40000000 ) #define DS_DNS_FOREST_FLAG ( 0x80000000 ) diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index f29e666ad9..2f3a08ce0b 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/librpc/idl/libnetapi.idl @@ -837,7 +837,7 @@ interface libnetapi /* DsGetDcName */ /*******************************************/ - [public] typedef [v1_enum] enum { + [public] typedef [bitmap32bit] bitmap { DS_PDC_FLAG = 0x00000001, DS_GC_FLAG = 0x00000004, DS_LDAP_FLAG = 0x00000008, @@ -850,6 +850,8 @@ interface libnetapi DS_NDNC_FLAG = 0x00000400, DS_SELECT_SECRET_DOMAIN_6_FLAG = 0x00000800, DS_FULL_SECRET_DOMAIN_6_FLAG = 0x00001000, + DS_WS_FLAG = 0x00002000, + DS_DS_8_FLAG = 0x00004000, DS_DNS_CONTROLLER_FLAG = 0x20000000, DS_DNS_DOMAIN_FLAG = 0x40000000, DS_DNS_FOREST_FLAG = 0x80000000 |