auth: local realms configuration
authorMichael Meffie <mmeffie@sinenomine.net>
Tue, 28 Feb 2012 13:50:33 +0000 (08:50 -0500)
committerDerrick Brashear <shadow@dementix.org>
Mon, 16 Apr 2012 17:31:04 +0000 (10:31 -0700)
commitf8b759b63ff938e2829fefd71059202c44e7ca13
tree9eaec56da4ff3f7703d72ce270ecdfe58d84f02d
parenta3ff62857cb76e403c11a27a250aa3c79d66ebb6
auth: local realms configuration

Add krb.conf and krb.excl support to the auth cell configuration
library.  Provide a function to determine if the user is local to the
cell.  Provide a function to set the local realms during application
initialization.  These changes are intended to replace the functions
afs_krb_get_lrealm and afs_is_foreign_ticket_name.

Change-Id: Iba57e9ffc2c958f3a4565a9352ce172189276ce9
Reviewed-on: http://gerrit.openafs.org/5744
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
18 files changed:
acinclude.m4
src/auth/Makefile.in
src/auth/NTMakefile
src/auth/cellconfig.c
src/auth/cellconfig.p.h
src/auth/internal.h
src/auth/realms.c [new file with mode: 0644]
src/libafsauthent/Makefile.in
src/libafsauthent/NTMakefile
src/libafsauthent/afsauthent.def
src/libuafs/Makefile.common.in
src/shlibafsauthent/Makefile.in
src/shlibafsauthent/afsauthent.def
tests/TESTS
tests/auth/.gitignore
tests/auth/Makefile.in
tests/auth/realms-t.c [new file with mode: 0644]
tests/common/config.c