From 3c3d5c870b45ba64b105742788384d8f83456a91 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 28 Aug 2007 06:22:35 +0000 Subject: Add the keytab object implementation. Add the skeleton of a config module which currently doesn't do anything useful except define some variables so that I can do syntax checking. --- perl/Wallet/Config.pm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 perl/Wallet/Config.pm (limited to 'perl/Wallet/Config.pm') diff --git a/perl/Wallet/Config.pm b/perl/Wallet/Config.pm new file mode 100644 index 0000000..6dd2313 --- /dev/null +++ b/perl/Wallet/Config.pm @@ -0,0 +1,41 @@ +# Wallet::Config -- Configuration handling for the wallet server. +# $Id$ +# +# Written by Russ Allbery +# Copyright 2007 Board of Trustees, Leland Stanford Jr. University +# +# See README for licensing terms. + +############################################################################## +# Modules and declarations +############################################################################## + +package Wallet::Config; +require 5.006; + +use strict; +use vars qw($PATH $VERSION); + +# This version should be increased on any code change to this module. Always +# use two digits for the minor version with a leading zero if necessary so +# that it will sort properly. +$VERSION = '0.01'; + +# Path to the config file to load. +$PATH = '/etc/wallet.conf'; + +############################################################################## +# Variables +############################################################################## + +# Configuration for the keytab object type. +our $KEYTAB_FILE; +our $KEYTAB_FLAGS = '-clearpolicy'; +our $KEYTAB_HOST; +our $KEYTAB_KADMIN = 'kadmin'; +our $KEYTAB_PRINCIPAL; +our $KEYTAB_REALM; +our $KEYTAB_TMP; + +1; +__END__ -- cgit v1.2.3