Comment 3 for bug 475546

Revision history for this message
Dan Searle (dan-censornet) wrote :

Why is this seen as "low" priotiry, it's causing no end of problems for some of our servers running out of memory, I have to restart the effected daemons twice a day, which is a pretty ugly, I have confirmed the patch I submitted from the <email address hidden> mailing list does work. All you have to do is apply this patch:

--- ./src/lib/krb5/rcache/rc_none.c 2004-08-04 07:58:17.000000000 +0100
+++ ./src/lib/krb5/rcache/rc_none.c 2009-11-09 09:14:43.000000000 +0000
@@ -43,11 +43,17 @@
    return 0;
}
#define krb5_rc_none_recover krb5_rc_none_noargs
-#define krb5_rc_none_destroy krb5_rc_none_noargs
-#define krb5_rc_none_close krb5_rc_none_noargs
#define krb5_rc_none_expunge krb5_rc_none_noargs

static krb5_error_code KRB5_CALLCONV
+krb5_rc_none_close(krb5_context ctx, krb5_rcache rc)
+{
+ free (rc);
+ return 0;
+}
+#define krb5_rc_none_destroy krb5_rc_none_close
+
+static krb5_error_code KRB5_CALLCONV
krb5_rc_none_store(krb5_context ctx, krb5_rcache rc, krb5_donot_replay *r)
{
    return 0;

I tried to make a new libkrb53 package myself, but there are lots of interdependencies which mean I would have to remake lots of other packages. Please apply this patch and update the official Hardy repository ASAP.