From 47225b5b8e697163f23f9d019a6b26653738ef6c Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 7 Feb 2008 22:45:26 +0000 Subject: Switch to our, which works fine with testing. --- server/keytab-backend | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'server/keytab-backend') diff --git a/server/keytab-backend b/server/keytab-backend index 2956730..354e192 100755 --- a/server/keytab-backend +++ b/server/keytab-backend @@ -26,23 +26,22 @@ our $ID = q$Id$; # Declarations and site configuration ############################################################################## -# Do not use our here to permit overrides when testing. use strict; -use vars qw($CONFIG $KADMIN $SYSLOG $TMP); use Sys::Syslog qw(openlog syslog); # Path to configuration file listing principals that may be extracted. -$CONFIG = '/etc/krb5kdc/allow-extract'; +our $CONFIG = '/etc/krb5kdc/allow-extract'; # The full path to a kadmin.local that supports -norandkey. -$KADMIN = '/usr/sbin/kadmin.local'; +our $KADMIN = '/usr/sbin/kadmin.local'; # A temporary area into which keytabs should be written. -$TMP = '/var/lib/keytabs'; +our $TMP = '/var/lib/keytabs'; # Set to zero to suppress syslog logging, which is used only for testing. Set # to a reference to a string to append messages to that string instead. +our $SYSLOG; $SYSLOG = 1 unless defined $SYSLOG; ############################################################################## -- cgit v1.2.3