Modify the preath plugin interface so that a plugin's context is
authorKevin Coffman <kwc@citi.umich.edu>
Wed, 1 Nov 2006 22:40:30 +0000 (22:40 +0000)
committerKevin Coffman <kwc@citi.umich.edu>
Wed, 1 Nov 2006 22:40:30 +0000 (22:40 +0000)
commit2b2f711f2addee052253e4ff54fb7cdf3e20c0ae
treea3e86969623f704a21780e47936a7a0ee5cd15f0
parent45fde258dbced00d2db9d999d5749cb186f2250d
Modify the preath plugin interface so that a plugin's context is
global to all the modules within a plugin.  Also, change the
client-side interface so that the preauth plugin context (once
created) lives the lifetime of a krb5_context.  This will allow
future changes that can set plugin parameters.  The client side
request context lives the lifetime of a call to krb5_get_init_creds().

Make the sample preauth plugins buildable outside the source tree.

Fix minor memory leak in sort_krb5_padata_sequence().

Add a prototype for krb5_do_preauth_tryagain() and change the plugin
interface.

Incorporates fixes from Nalin Dahyabhai <nalin@redhat.com> for leaks
of the function table pointers (rt #4566) and fix KDC crash (rt #4567)

ticket: 4566
ticket: 4567
ticket: 4587
Target_Version: 1.6
Tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18754 dc483132-0cff-0310-8789-dd5450dbe970
src/include/k5-int.h
src/include/krb5/preauth_plugin.h
src/kdc/kdc_preauth.c
src/lib/krb5/krb/get_in_tkt.c
src/lib/krb5/krb/init_ctx.c
src/lib/krb5/krb/preauth2.c
src/lib/krb5/os/init_os_ctx.c
src/plugins/preauth/cksum_body/Makefile.in
src/plugins/preauth/cksum_body/cksum_body_main.c [moved from src/plugins/preauth/cksum_body/src/cksum_body.c with 94% similarity]
src/plugins/preauth/wpse/Makefile.in
src/plugins/preauth/wpse/wpse_main.c [moved from src/plugins/preauth/wpse/src/wpse.c with 81% similarity]