pull up r20176 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 2 Jan 2008 23:49:06 +0000 (23:49 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 2 Jan 2008 23:49:06 +0000 (23:49 +0000)
 r20176@cathode-dark-space:  jaltman | 2007-12-12 17:32:19 -0500
 ticket: new
 subject: KFW: BUG: KRB5CRED: Set identity data before sending notification
 component: windows
 tags: pullup

 Call tc_set_ident_data() before kcdb_credset_collect().  Make sure the
 identity data is set before the credentials change notification is broadcast.

ticket: 5858
version_fixed: 1.6.4

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