make the afs network identity provider compatible with FILE:
credential caches. this is mostly of importance to 64-bit
Windows users since there is no CCAPI implementation for
64-bit KFW.
increds.keyblock.enctype = ENCTYPE_DES_CBC_CRC;
#ifdef KRB5_TC_NOTICKET
- flags = 0;
+ flags = KRB5_TC_OPENCLOSE;
r = pkrb5_cc_set_flags(context, k5cc, flags);
#endif
retry_retcred:
pkrb5_free_principal(context, client_principal);
client_principal = 0;
#ifdef KRB5_TC_NOTICKET
- flags = KRB5_TC_NOTICKET;
+ flags = KRB5_TC_OPENCLOSE | KRB5_TC_NOTICKET;
pkrb5_cc_set_flags(context, k5cc, flags);
#endif
LPCSTR functionName;
int freeContextFlag;
krb5_error_code rc = 0;
- krb5_flags flags = 0;
+ krb5_flags flags = KRB5_TC_OPENCLOSE;
if (pkrb5_init_context == NULL)
return 1;