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