[krbdev.mit.edu #6018] Support for recovering from broken rcache
Alexandra Ellwood via RT
rt-comment at krbdev.mit.edu
Thu Jul 17 15:31:09 EDT 2008
diff -Nur -x '*~' -x '*.orig' -x '*.rej' -x lha.mode1v3 -x lha.mode2v3 -x lha.pbxuser -x windows -x .DS_Store Kerberos.AEP-6.5a2.orig/KerberosFramework/Kerberos5/Sources/kdc/kdc_util.c Kerberos.AEP-6.5a2/KerberosFramework/Kerberos5/Sources/kdc/kdc_util.c
--- Kerberos.AEP-6.5a2.orig/KerberosFramework/Kerberos5/Sources/kdc/kdc_util.c 2008-07-13 13:38:42.000000000 +0100
+++ Kerberos.AEP-6.5a2/KerberosFramework/Kerberos5/Sources/kdc/kdc_util.c 2008-07-13 14:46:04.000000000 +0100
@@ -65,9 +65,9 @@
return retval;
/* First try to recover */
- retval = krb5_rc_recover(kcontext, kdc_rcache);
+ retval = krb5_rc_recover_or_initialize(kcontext, kdc_rcache, kcontext->clockskew);
if (retval) {
- /* Either the cache is malformated or not there, lets remove
+ /* The cache is malformated ?, lets remove
it first and then initialize it */
retval = krb5_rc_resolve_full(kcontext, &kdc_rcache, rcname);
if (retval)
More information about the krb5-bugs
mailing list