OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-351-gcda288a
Gerrit Code Review
gerrit@openafs.org
Sun, 24 Mar 2019 01:04:04 -0400
The following commit has been merged in the master branch:
commit cda288a2e4ebbd3c915f946a50fa2b59d7ee12b4
Author: Ben Kaduk <kaduk@mit.edu>
Date: Mon Dec 9 22:13:16 2013 -0500
Implement the rxgk server security object routines
Provide non-trivial implementations of the security class routines
used by the server, along with helpers as necessary.
The identity supplied in a client's token is given as a list of
PrAuthNames; we assume that at most one name is supplied at present,
as the meaning of compound identities (and the use of compound
identities for keyed cache managers) is not fully specified yet.
Convert the PrAuthName to an rx_identity for caching in the server
connection state, as the rx_identity type is more compatible with
superuser checks on the connection.
Also provide an rxgk_GetServerInfo routine which extracts the cached
identity, for use in libauth when making superuser checks.
This moves our dependency on rx_identity from the private data structures
into the public header, so move the nested include accordingly.
Change-Id: I0f48b69d4ab758d8a4d76ebfb1daf3009c4fe060
Reviewed-on: https://gerrit.openafs.org/10572
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/rx/rx.h | 1 +
src/rxgk/liboafs_rxgk.la.sym | 1 +
src/rxgk/rxgk.h | 9 +
src/rxgk/rxgk_int.xg | 9 +-
src/rxgk/rxgk_packet.c | 72 ++++-
src/rxgk/rxgk_private.h | 16 +-
src/rxgk/rxgk_server.c | 718 ++++++++++++++++++++++++++++++++++++++----
7 files changed, 749 insertions(+), 77 deletions(-)
--
OpenAFS Master Repository