OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_71-17-gdac001a
Gerrit Code Review
gerrit@openafs.org
Wed, 3 Feb 2010 12:21:46 -0800 (PST)
The following commit has been merged in the master branch:
commit dac001a0a04f54a76f254200ee24ab09f5ad22f7
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Jan 29 15:12:42 2010 +0000
Don't pass tokens around the backup system
The backup system has a global ktc_token, which is used
to work out when its credentials are about to expire. This leads to
an unfortunate dependency throughout the code on the format of this
token.
Replace this with a global time_t which stores the expiry time, and
copy the required field from the token into this when we get the
token. This limits the exposure of the token, and simplifies the code.
Change-Id: Ia2929c2c0a4c1ba9ca5db881865f33af5a732d2f
Reviewed-on: http://gerrit.openafs.org/1218
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/bucoord/bucoord_internal.h | 1 +
src/bucoord/bucoord_prototypes.h | 3 +-
src/bucoord/commands.c | 57 ++++++++++++++++++++-----------------
src/bucoord/main.c | 4 +-
src/bucoord/ubik_db_if.c | 9 +++--
src/butc/tcmain.c | 8 ++---
6 files changed, 43 insertions(+), 39 deletions(-)
--
OpenAFS Master Repository