1 --- amanda-3.2.0/amandad-src/amandad.c~ 2010-10-06 18:36:28.000000000 +0200
2 +++ amanda-3.2.0/amandad-src/amandad.c 2010-11-29 14:23:20.580165324 +0100
7 + /* krb5 require the euid to be 0 */
8 + if (strcasecmp(auth, "krb5") == 0) {
14 if (strcasecmp(auth, "krb5") != 0) {
16 dbprintf(_("WARNING: argv[0] not defined: check inetd.conf\n"));
19 - /* krb5 require the euid to be 0 */
20 - if (strcasecmp(auth, "krb5") == 0) {
25 * Schedule to call protocol_accept() when new security handles
26 * are created on stdin.
27 --- amanda-3.2.0/common-src/krb5-security.c~ 2010-11-29 14:24:29.826165323 +0100
28 +++ amanda-3.2.0/common-src/krb5-security.c 2010-11-29 14:45:41.683165324 +0100
30 #include "et/com_err.h"
33 -#define BROKEN_MEMORY_CCACHE
34 +#undef BROKEN_MEMORY_CCACHE
36 #ifdef BROKEN_MEMORY_CCACHE
41 #ifndef BROKEN_MEMORY_CCACHE
42 - putenv(stralloc("KRB5_ENV_CCNAME=MEMORY:amanda_ccache"));
43 + putenv(stralloc(KRB5_ENV_CCNAME"=MEMORY:amanda_ccache"));
46 * MEMORY ccaches seem buggy and cause a lot of internal heap
50 g_snprintf(ccache, SIZEOF(ccache),
51 - "KRB5_ENV_CCNAME=FILE:/tmp/amanda_ccache.%ld.%ld",
52 + KRB5_ENV_CCNAME"=FILE:/tmp/amanda_ccache.%ld.%ld",
53 (long)geteuid(), (long)getpid());