Replaced fqdn variables with homename

This commit is contained in:
Ossi Salmi 2010-11-08 14:16:04 +02:00 committed by Timo Mkinen
parent c871e91a13
commit 45b597c29c
12 changed files with 39 additions and 39 deletions

View file

@ -14,7 +14,7 @@ config['klist'] = '/usr/kerberos/bin/klist'
# set global vars
cachefile = File.join(config['cachedir'],
fqdn + '.' + Digest::MD5.hexdigest(name))
homename + '.' + Digest::MD5.hexdigest(name))
# function to check if keytab contains required principals
@ -70,4 +70,4 @@ end
# read keytab into memory
data = File.open(cachefile).read
-%><%= data -%>
-%><%= data -%>