pull up r18754 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 8 Nov 2006 23:44:47 +0000 (23:44 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 8 Nov 2006 23:44:47 +0000 (23:44 +0000)
commitf2dd4508259ad6bd1551a9af30b0e1b2fc8336f1
treecb7810dfc58819d39823a8ab120c2977414045be
parent9d19013cef4ccab0c0bdaf6ef99aa076d7fb2950
pull up r18754 from trunk

 r18754@cathode-dark-space:  coffman | 2006-11-01 17:40:30 -0500
 ticket: 4566
 ticket: 4567
 ticket: 4587
 Target_Version: 1.6
 Tags: pullup

 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
version_fixed: 1.6

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18777 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]