1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:torture: Consistently use NBT_SERVER_* flags

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-05-24 09:55:19 +12:00 committed by Andrew Bartlett
parent f75b980fff
commit 838cdd1680

View File

@ -352,12 +352,12 @@ static bool test_ldap_netlogon_flags(struct torture_context *tctx,
printf("NBT_SERVER_DS_9 ");
if (server_type & NBT_SERVER_DS_10)
printf("NBT_SERVER_DS_10 ");
if (server_type & DS_DNS_CONTROLLER)
printf("DS_DNS_CONTROLLER ");
if (server_type & DS_DNS_DOMAIN)
printf("DS_DNS_DOMAIN ");
if (server_type & DS_DNS_FOREST_ROOT)
printf("DS_DNS_FOREST_ROOT ");
if (server_type & NBT_SERVER_HAS_DNS_NAME)
printf("NBT_SERVER_HAS_DNS_NAME ");
if (server_type & NBT_SERVER_IS_DEFAULT_NC)
printf("NBT_SERVER_IS_DEFAULT_NC ");
if (server_type & NBT_SERVER_FOREST_ROOT)
printf("NBT_SERVER_FOREST_ROOT ");
printf("\n");