From ac3c7fe28c8314e644c062b033ee0f35051a0806 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 19 Jul 2013 13:24:31 +0000 Subject: [PATCH] Fix problem where name resolution was used instead of certificate subject to identify 'trusted' peer git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@17002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 6d0a7b87c..eda5b8008 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -1991,7 +1991,7 @@ sub validate { # check to see if peerhost is trusted foreach $rule (@$policies) { - if (($rule->{name} and (($rule->{name} eq $peerhost) || ($rule->{name} eq $peerhostorg))) && ($rule->{rule}=~ /trusted/i)) { + if (($rule->{name} and $rule->{name} eq $peername) && ($rule->{rule}=~ /trusted/i)) { $peerstatus="Trusted"; last; }