From: Jeffrey Altman Date: Wed, 12 Dec 2007 22:32:19 +0000 (+0000) Subject: KFW: BUG: KRB5CRED: Set identity data before sending notification X-Git-Tag: krb5-1.7-alpha1~769 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b75f7b4b4b957da9a48637c614123933f1e12009;p=krb5.git KFW: BUG: KRB5CRED: Set identity data before sending notification Call tc_set_ident_data() before kcdb_credset_collect(). Make sure the identity data is set before the credentials change notification is broadcast. ticket: new component: windows tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20176 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/identity/plugins/krb5/krb5funcs.c b/src/windows/identity/plugins/krb5/krb5funcs.c index 59cbe32cc..8d0de1293 100644 --- a/src/windows/identity/plugins/krb5/krb5funcs.c +++ b/src/windows/identity/plugins/krb5/krb5funcs.c @@ -978,8 +978,8 @@ _exit: if (cc_ctx) (*pcc_shutdown)(&cc_ctx); - kcdb_credset_collect(NULL, krb5_credset, NULL, credtype_id_krb5, NULL); tc_set_ident_data(&idl); + kcdb_credset_collect(NULL, krb5_credset, NULL, credtype_id_krb5, NULL); tc_free_idlist(&idl); return(code);