OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-62-g75b3b6c

Gerrit Code Review gerrit@openafs.org
Sat, 12 Nov 2011 15:51:03 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 9e1205f80cd0ef5af8f35d362c281a531098fb4e
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Apr 14 15:36:50 2011 -0500

    auth: Get correct viceid in legacy GetToken
    
    When ktc_GetTokenEx needs to get tokens via the legacy ktc_GetToken
    interface, it was not extracting the viceid. Make it set the viceid so
    the caller gets the correct id.
    
    Normally this would require parsing the given client name. To reduce
    the amount of times we store and extract the viced from the "AFS ID
    %d" string, create a helper GetToken function that can store the
    viceid directly, without storing it in a string.
    
    Change-Id: I8707bdc4d3cd5c6c183b2659a14d5b23a7d48a89
    Reviewed-on: http://gerrit.openafs.org/4482
    Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    (cherry-picked from 735873d51512bc31134856c06345bb7caf9d8144)
    Reviewed-on: http://gerrit.openafs.org/5891
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/auth/ktc.c |   38 ++++++++++++++++++++++++++++++--------
 1 files changed, 30 insertions(+), 8 deletions(-)

-- 
OpenAFS Master Repository