summaryrefslogtreecommitdiff
path: root/server/keytab-backend
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-02-07 22:45:26 +0000
committerRuss Allbery <rra@stanford.edu>2008-02-07 22:45:26 +0000
commit47225b5b8e697163f23f9d019a6b26653738ef6c (patch)
treed11e7226848db8a96bb3da4dbd7fd06f183d2fe3 /server/keytab-backend
parent4271fb73203556213af37d004fd8bc0206a6ab0e (diff)
Switch to our, which works fine with testing.
Diffstat (limited to 'server/keytab-backend')
-rwxr-xr-xserver/keytab-backend9
1 files changed, 4 insertions, 5 deletions
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;
##############################################################################