]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-multiple-local-realms-20051208
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 19 Mar 2009 03:44:59 +0000 (03:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 19 Mar 2009 03:44:59 +0000 (03:44 +0000)
commit59155ddc256b0bf635a3f850b6db91170b759612
treeca7b5c238b0961518462ee88569550c62f257763
parent0dc296c6c31e1f1fa4875a0e5c0f37f3c86b9999
STABLE14-multiple-local-realms-20051208

This patch extends the krb.conf file allowing the specification of
multiple realms which should be treated as equivalents to the local
cell authentication domain.  Additional realms are specified on the
first line of the krb.conf file and are separated by white space.

In addition, the patch adds a new file stored in the same directory
as the krb.conf file called krb.excl.  This file contains a list of
principal names, one per line, that must not be treated as local
identities.

The purpose of this patch is to allow organizations that are supporting
multiple realms with synchronized user principal databases to allow
their users to login with any of the realms and treat the principal
names as equivalent to the local PTS identity.   The exclusion is
to allow certain names, such as those for administrative IDs, to be
restricted to a subset of the realms.

Further optimization of the afs_krb_exclusion() should be performed to
remove the need to re-read the file.  This patch should be considered
a temporary solution until a more permanent set of extensions to the
PT database and RPCs allow for the assignment of mechanism specific
aliases for PT IDs.

(cherry picked from commit 544dedb6eddd353094a8c7d9b30d76b80f6d2a87)
12 files changed:
src/audit/audit.c
src/auth/userok.c
src/config/afs_sysnames.h
src/ptserver/ptprocs.c
src/util/afsutil_prototypes.h
src/util/dirpath.c
src/util/dirpath.hin
src/util/dirpath_nt.h
src/util/get_krbrlm.c
src/util/test/dirpath_test.c
src/viced/host.c
src/viced/viced.c