]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Reload rxkad.keytab on CellServDB modification
authorAndrew Deason <adeason@sinenomine.net>
Wed, 10 Jul 2013 17:52:28 +0000 (12:52 -0500)
committerRuss Allbery <rra@debian.org>
Thu, 25 Jul 2013 04:04:16 +0000 (21:04 -0700)
commitc72cd13907e494053cff59bb1312099dbd45d5d4
tree2cf03a1d49c88dd714ac1985708f7607591f3427
parent928467885420da345004977e1d512febbbc7c429
Reload rxkad.keytab on CellServDB modification

Make the reloading of rxkad.keytab keys occur in the same way that
KeyFile keys are reloaded. That is, we only try to reload them if the
CellServDB mtime has changed. This is intended to have exactly the
same reloading behavior as KeyFile reloads.

I would have triggered this from afsconf_Check, but that approach
has annoyances. (Calling ticket5_keytab functions directly from
cellconfig pulls in libkrb5 dependencies for everything that uses
cellconfig, and we'd have to trigger an afsconf_Check call by calling
some other cellconfig function.)
src/rxkad/ticket5_keytab.c