multiple-local-realms-20051208
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 15 Dec 2005 05:51:24 +0000 (05:51 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 15 Dec 2005 05:51:24 +0000 (05:51 +0000)
commit544dedb6eddd353094a8c7d9b30d76b80f6d2a87
tree49f6020f960f28dcb80e6c8d24ee17c86b893628
parentf9f9894a2c4d98b60f68ef811e7827e67b2dfe88
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.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

correction to exclusion list parsing
12 files changed:
src/audit/audit.c
src/auth/userok.c
src/config/afs_sysnames.h
src/libafsauthent/afsauthent.def
src/ptserver/ptprocs.c
src/util/afsutil_prototypes.h
src/util/dirpath.c
src/util/dirpath_nt.h
src/util/get_krbrlm.c
src/util/test/dirpath_test.c
src/viced/host.c
src/viced/viced.c