KFW: BUG: KRB5CRED: Set identity data before sending notification
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 12 Dec 2007 22:32:19 +0000 (22:32 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 12 Dec 2007 22:32:19 +0000 (22:32 +0000)
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

src/windows/identity/plugins/krb5/krb5funcs.c

index 59cbe32cc52c6ca6cb63c6154e2280c129fecd6b..8d0de1293957cf3915aeae71ed5581c8254b8997 100644 (file)
@@ -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);