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 for leaks of the function table pointers (rt #4566) and fix KDC crash (rt #4567) Commit By: coffman Revision: 18754 Changed Files: U trunk/src/include/k5-int.h U trunk/src/include/krb5/preauth_plugin.h U trunk/src/kdc/kdc_preauth.c U trunk/src/lib/krb5/krb/get_in_tkt.c U trunk/src/lib/krb5/krb/init_ctx.c U trunk/src/lib/krb5/krb/preauth2.c U trunk/src/lib/krb5/os/init_os_ctx.c U trunk/src/plugins/preauth/cksum_body/Makefile.in A trunk/src/plugins/preauth/cksum_body/cksum_body_main.c D trunk/src/plugins/preauth/cksum_body/src/cksum_body.c U trunk/src/plugins/preauth/wpse/Makefile.in D trunk/src/plugins/preauth/wpse/src/wpse.c A trunk/src/plugins/preauth/wpse/wpse_main.c