OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1755-g735873d

Gerrit Code Review gerrit@openafs.org
Sun, 23 Oct 2011 11:33:54 -0700 (PDT)


The following commit has been merged in the master branch:
commit 735873d51512bc31134856c06345bb7caf9d8144
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: Ib03a419aee6eaed3b253c4d5d575d4dd8d3b8ddc
    Reviewed-on: http://gerrit.openafs.org/4482
    Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

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

-- 
OpenAFS Master Repository