OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-861-g419fbfb

Gerrit Code Review gerrit@openafs.org
Sun, 13 Mar 2011 07:33:09 -0700 (PDT)


The following commit has been merged in the master branch:
commit 419fbfb4536242bbb6321d6e1c468ca939bf7009
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Fri Mar 4 12:12:24 2011 +0000

    ubik: Remove dependency on auth
    
    When commit 8a09c220f4c5f881ea45be585b07b793038924d5 added support
    for token error recovery to ubik, it introduced a dependency on
    afsconf. This breaks the abstraction layer that had been in place, by
    requiring that the SecurityRock be an afsconf_dir (if you use a
    different rock, ubik will segfault)
    
    This change reinstates the abstraction layer, by requiring Ubik
    users who want token error checking to specify a procedure that can
    be used to check whether tokens are up to date. Instead of yet
    another global variable, we replace the existing CRXSecurity*
    variables with a single function that can be used to set security proc,
    token checking proc, and rock.
    
    Change-Id: I9036cf712f02610ed2e906602d3416436f69e98b
    Reviewed-on: http://gerrit.openafs.org/4200
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/auth/cellconfig.c   |    3 ++-
 src/auth/cellconfig.p.h |    2 +-
 src/budb/server.c       |    3 +--
 src/kauth/kaserver.c    |    7 ++++---
 src/ptserver/ptserver.c |    3 +--
 src/ubik/Makefile.in    |    2 +-
 src/ubik/beacon.c       |   35 ++++++++++++++++++++++++++++++-----
 src/ubik/ubik.p.h       |    7 +++++++
 src/vlserver/vlserver.c |    3 +--
 9 files changed, 48 insertions(+), 17 deletions(-)

-- 
OpenAFS Master Repository