From 2e00a586996cf4e53bd9d03afca7d46471549171 Mon Sep 17 00:00:00 2001 From: Jon Robertson Date: Tue, 25 Aug 2015 14:13:09 -0700 Subject: stanford.t: Added netdb configuration to policy tests Since we now check to see if something is a valid netdb node entry for the ACL verifiers, we need to have a valid netdb setup to run. Change-Id: Ic2651f8b8b306dfa1f426d91f329b5100a9a1d64 --- perl/t/policy/stanford.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl/t/policy/stanford.t') diff --git a/perl/t/policy/stanford.t b/perl/t/policy/stanford.t index c58985b..0c3dd2d 100755 --- a/perl/t/policy/stanford.t +++ b/perl/t/policy/stanford.t @@ -29,6 +29,11 @@ BEGIN { use_ok('Wallet::Server'); } +# Set up our configuration for netdb, needed for the netdb verifier. +$Wallet::Config::NETDB_REALM = 'stanford.edu'; +$Wallet::Config::NETDB_REMCTL_CACHE = $ENV{KRB5CCNAME}; +$Wallet::Config::NETDB_REMCTL_HOST = 'netdb-node-roles-rc.stanford.edu'; + # Various valid keytab names. my @VALID_KEYTABS = qw(host/example.stanford.edu HTTP/example.stanford.edu service/example example/cgi class-example01/cgi dept-01example/cgi -- cgit v1.2.3