1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

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>
This commit is contained in:
Günther Deschner
2014-10-23 14:05:40 +02:00
parent 4c88897471
commit eb8d914d91
3 changed files with 9 additions and 2 deletions

View File

@ -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");
}

View File

@ -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 )

View File

@ -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