]> git.ipfire.org Git - pakfire.git/commitdiff
daemon: Store Kerberos credentials in memory
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Apr 2025 17:00:28 +0000 (17:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Apr 2025 17:00:28 +0000 (17:00 +0000)
I think I am starting to become confused. At least in trixie and
bookworm-backports, we seem to be linking against MIT. This seems to
work now on my machine. Let's hope this is a general thing.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/daemon.c

index b17be0564fc000dd571303ab821483ebd343adc6..f58a28380cbda1a22df303ff9e58341d9b06b19e 100644 (file)
 #define PAKFIRE_STATS_WHEN_BUSY S_TO_US(15)
 #define PAKFIRE_STATS_WHEN_IDLE S_TO_US(60)
 
-// It would be nice store the credentials cache in memory, but on Debian,
-// cURL is compiled with Heimdal which is incompatible with the KRB5 in-memory cache.
-// The on-disk format is however is compatible between two implementations.
-#define KRB5_CREDENTIALS_CACHE "FILE:/tmp/krb5cc_pakfire-daemon"
+// Store all Kerberos credentials in memory
+#define KRB5_CREDENTIALS_CACHE "MEMORY:"
 
 // The default keytab
 #define KRB5_DEFAULT_KEYTAB "/etc/krb5.keytab"