diff options
author | Günther Deschner <gd@samba.org> | 2014-10-23 14:05:40 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2014-10-24 11:30:05 +0200 |
commit | eb8d914d913bc7d98492361baf2b8eb721bd0069 (patch) | |
tree | f7bafcc20035761505b6b77b900298136d9c4234 /source3/lib/netapi | |
parent | 4c88897471c94cbe923e290a742d5beb9caa2e1b (diff) | |
download | samba-eb8d914d913bc7d98492361baf2b8eb721bd0069.tar.gz |
s3-netapi: add DS_8 and WS flags to libnetapi and nltest.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/examples/netlogon/nltest.c | 5 | ||||
-rw-r--r-- | source3/lib/netapi/netapi.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/netlogon/nltest.c b/source3/lib/netapi/examples/netlogon/nltest.c index 0c393ea3beb..f75a995328e 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 c273ae052d3..6fc539c8f6f 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 ) |