]> 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)
committerSimon Wilkinson <sxw@your-file-system.com>
Wed, 17 Jul 2013 12:14:16 +0000 (13:14 +0100)
commit4b7553600a7659d117df0bde7b1c1dfde031deb8
treed95a491535639e7072a0140f3a17d6f71ab2444a
parentd2024c158e3a879305ff17cf726d3958f20677f4
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