On Aug 30, 2010, at 11:37 AM, Tim Nowaczyk wrote: > > On Aug 29, 2010, at 10:54 AM, Dustin J. Mitchell wrote: > >> On Wed, Aug 25, 2010 at 5:20 PM, Tim Nowaczyk <[email protected]> wrote: >>> After another day of troubleshooting I think I found the problem. Running >>> 'strings /usr/lib/amanda/libamanda-3.1.0.so | grep amanda_ccache' shows >>> 'KRB5_ENV_CCNAME=FILE:/tmp/amanda_ccache.%ld.%ld'. This should be >>> 'KRB5CCNAME=FILE:/tmp/amanda_ccache.%ld.%ld'. I see '#define >>> KRB5_ENV_CCNAME "KRB5CCNAME"' in 'krb5-security.c', however. Does the >>> preprocessor still ignore substituting inside string literals? That would >>> explain why the substitution isn't happening in krb5_init(). >> >> Yes, it does. Do you want to fix this up and submit a patch? >> > Here ya go. I noticed that there were two identical error messages while > debugging my original problem. This caused me to not know which krb5 > function was failing. In addition to the KRB5CCNAME problem, I have also > changed the text of one of error messages to differentiate them. > Oops. Forgot to un-quote the environment variable name
Take 2
amanda-krb5.patch
Description: Binary data
