From 838cdd16808d4bc58bdd156f7715df34b388b950 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Wed, 24 May 2023 09:55:19 +1200 Subject: [PATCH] s4:torture: Consistently use NBT_SERVER_* flags Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source4/torture/ldap/netlogon.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source4/torture/ldap/netlogon.c b/source4/torture/ldap/netlogon.c index a1d27a04f07..0bddb3e3613 100644 --- a/source4/torture/ldap/netlogon.c +++ b/source4/torture/ldap/netlogon.c @@ -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");