OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1754-g59b47fb
Gerrit Code Review
gerrit@openafs.org
Sun, 23 Oct 2011 11:33:26 -0700 (PDT)
The following commit has been merged in the master branch:
commit 59b47fba3fa7cf13ef82463c5112851f7bdaf2ec
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Apr 14 15:05:37 2011 -0500
auth: Force correct evenness on rxkad tokens
Rxkad tokens historically have forced odd lifetimes when the given
viceid is actually an AFS ID, and even lifetimes when it is not. Force
this when the new token-handling functions are used (so the viceid is
correctly interpreted by users of the old token format), by creating
rxkad tokens with token_importRxkadViceId.
Slightly reworked by Simon Wilkinson to provide a generic token
destructor function.
Change-Id: I9f6aa518b8ae51a3772b69a0722a28bff6b47128
Reviewed-on: http://gerrit.openafs.org/4481
Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/aklog/aklog.c | 81 ++++++++++++++--------------------
src/auth/ktc.h | 6 +++
src/auth/token.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++---
src/tsm41/aix_aklog.c | 2 +-
4 files changed, 151 insertions(+), 56 deletions(-)
--
OpenAFS Master Repository