]> git.pld-linux.org Git - packages/amanda.git/blobdiff - amanda-krb5-auth.patch
- partial update to 3.5.1; builds, installs but files need update
[packages/amanda.git] / amanda-krb5-auth.patch
index 040d06d5957f22fcd275ae8adc7cdd61b11f1ee2..1545dd3e7cbdbf4dc72a17dc5bafea03996873c7 100644 (file)
      /*
       * Schedule to call protocol_accept() when new security handles
       * are created on stdin.
---- amanda-3.2.0/common-src/krb5-security.c~   2010-11-29 14:24:29.826165323 +0100
-+++ amanda-3.2.0/common-src/krb5-security.c    2010-11-29 14:45:41.683165324 +0100
-@@ -46,7 +46,7 @@
- #include "et/com_err.h"
- #endif
--#define BROKEN_MEMORY_CCACHE
-+#undef BROKEN_MEMORY_CCACHE
- #ifdef BROKEN_MEMORY_CCACHE
- /*
-@@ -712,7 +712,7 @@
-     beenhere = 1;
- #ifndef BROKEN_MEMORY_CCACHE
--    putenv(stralloc("KRB5_ENV_CCNAME=MEMORY:amanda_ccache"));
-+    putenv(stralloc(KRB5_ENV_CCNAME"=MEMORY:amanda_ccache"));
- #else
-     /*
-      * MEMORY ccaches seem buggy and cause a lot of internal heap
-@@ -727,7 +727,7 @@
-       char *ccache;
-       ccache = malloc(128);
-       g_snprintf(ccache, SIZEOF(ccache),
--               "KRB5_ENV_CCNAME=FILE:/tmp/amanda_ccache.%ld.%ld",
-+               KRB5_ENV_CCNAME"=FILE:/tmp/amanda_ccache.%ld.%ld",
-                (long)geteuid(), (long)getpid());
-       putenv(ccache);
-     }
This page took 0.033503 seconds and 4 git commands to generate.