]> 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>
Mon, 22 Jul 2013 20:50:53 +0000 (13:50 -0700)
commit7dd443f8607927384cb8df1fde9281291bd3901a
treec819f6349c6d431c07d47a7b1f40f98fc7d91d37
parent2e431de846c64e98a8a0ed53aa01aa10da8963ee
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.)

9102f49a3bdc67ed74e254349eb55b529472f45c
src/auth/authcon.c
src/rxkad/rxkad_prototypes.h
src/rxkad/ticket5_keytab.c