From cbff64d9f10355b1ba5c501c843e21b681da4139 Mon Sep 17 00:00:00 2001 From: Zhihao Ma Date: Fri, 30 Aug 2024 12:19:29 -0400 Subject: [PATCH] using the same conf process logic for cluster and standalone. --- lib/pf/services/manager/ntlm_auth_api.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/pf/services/manager/ntlm_auth_api.pm b/lib/pf/services/manager/ntlm_auth_api.pm index 9399b30fc5fb..e782b2246095 100644 --- a/lib/pf/services/manager/ntlm_auth_api.pm +++ b/lib/pf/services/manager/ntlm_auth_api.pm @@ -31,7 +31,6 @@ use pf::file_paths qw( ); use pf::util; use pf::constants qw($TRUE $FALSE); -use pf::cluster qw($cluster_enabled $host_id);; extends 'pf::services::manager'; @@ -66,11 +65,6 @@ sub generateConfig { my $host_id = hostname(); for my $identifier (keys(%ConfigDomain)) { - if ($cluster_enabled) { - unless ($identifier =~ /^$host_id /) { - next; - } - } my %conf = %{$ConfigDomain{$identifier}}; if (exists($conf{ntlm_auth_host}) && exists($conf{ntlm_auth_port}) && exists($conf{machine_account_password})) { my $ntlm_auth_host = $conf{ntlm_auth_host};