OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-60-g339eccb
Gerrit Code Review
gerrit@openafs.org
Sat, 12 Nov 2011 15:50:44 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 339eccb2c1078c1bd667a9f2834c385ca01ec6e2
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: Ic7f592dee71d05004f639027cd588ccebd5b54f0
Reviewed-on: http://gerrit.openafs.org/4481
Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry-picked from 59b47fba3fa7cf13ef82463c5112851f7bdaf2ec)
Reviewed-on: http://gerrit.openafs.org/5890
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
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