ifdef KRB4

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6735 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-08-04 19:50:03 +00:00
parent 528e6c1e8d
commit 29e402a549

View File

@@ -204,10 +204,12 @@ krb5_start_session(void)
krb5_cc_get_name(context, ccache2));
setenv("KRB5CCNAME", cc_name, 1);
#ifdef KRB4
if(k_hasafs()) {
if (k_setpag() == 0)
krb5_afslog(context, ccache2, NULL, NULL);
}
#endif
krb5_cc_close(context, ccache2);
krb5_cc_destroy(context, ccache);