This commit adds a thread safe MEMORY keytab implementation
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 30 Jan 2007 17:21:56 +0000 (17:21 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 30 Jan 2007 17:21:56 +0000 (17:21 +0000)
commitebcf51877b1a69217830ebfe4047bc8a27fe4436
tree6ed3d106e45cb257f5e5aa605b3d3e13ceb3eb09
parentad45c26ef806fb2998095c9e15ea142b6f6db6d6
This commit adds a thread safe MEMORY keytab implementation
that is compatible with Heimdal 0.7.  Each successful resolve
returns a handle to a keytab and increases the internal
reference count.  Each close invalidates the handle and
decreases the reference count.  When the reference count hits
zero, the keytab is destroyed.

When a kt_destroy function is added, the automatic destruction
after close behavior will be removed.

ticket: 5411

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19126 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/keytab/Makefile.in
src/lib/krb5/keytab/kt-int.h
src/lib/krb5/keytab/kt_memory.c [new file with mode: 0644]
src/lib/krb5/keytab/ktbase.c
src/lib/krb5/keytab/ktfr_entry.c