Re: amanda+krb5: Wrong permissions on ccache file.

2010-08-30 Thread Dustin J. Mitchell
On Mon, Aug 30, 2010 at 4:24 PM, Dustin J. Mitchell wrote: > Gotcha.  I'll get the modified version of your patch committed, then. I meant I'll get it reviewed. Can you review this by trying it out? http://github.com/djmitche/amanda/commit/krb5-fix.patch Dustin -- Open Source Storage Engin

Re: amanda+krb5: Wrong permissions on ccache file.

2010-08-30 Thread Dustin J. Mitchell
On Mon, Aug 30, 2010 at 4:13 PM, Tim Nowaczyk wrote: > Because I'm not a C programmer and I didn't know you could do that.  I > thought my choices were between xstr and strcat/strncat. :) Gotcha. I'll get the modified version of your patch committed, then. Dustin -- Open Source Storage Engin

Re: amanda+krb5: Wrong permissions on ccache file.

2010-08-30 Thread Dustin J. Mitchell
I'm all for changing error messages - searching the source for error messages is an underutilized debugging technique! Dustin Index: common-src/krb5-security.c === --- common-src/krb5-security.c (revision 3343) +++ common-src/krb5-s

Re: amanda+krb5: Wrong permissions on ccache file.

2010-08-30 Thread Tim Nowaczyk
On Aug 30, 2010, at 4:52 PM, Dustin J. Mitchell wrote: > > #ifndef BROKEN_MEMORY_CCACHE > -putenv(stralloc("KRB5_ENV_CCNAME=MEMORY:amanda_ccache")); > +putenv(stralloc(xstr(KRB5_ENV_CCNAME=MEMORY:amanda_ccache)); > #else > /* > * MEMORY ccaches seem buggy and cause a lot of inte

Re: amanda+krb5: Wrong permissions on ccache file.

2010-08-30 Thread Tim Nowaczyk
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 wrote: >>> After another day of troubleshooting I think I found the problem. Running >>> 'strings /usr/lib/amanda/libamanda-3.1.0.s

Re: amanda+krb5: Wrong permissions on ccache file.

2010-08-30 Thread Tim Nowaczyk
On Aug 29, 2010, at 10:54 AM, Dustin J. Mitchell wrote: > On Wed, Aug 25, 2010 at 5:20 PM, Tim Nowaczyk 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/

Re: amanda+krb5: Wrong permissions on ccache file.

2010-08-29 Thread Dustin J. Mitchell
On Wed, Aug 25, 2010 at 5:20 PM, Tim Nowaczyk 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:/tm

amanda+krb5: Wrong permissions on ccache file.

2010-08-25 Thread Tim Nowaczyk
Greetings all, I sent the following message to amanda-users before my subscription was accepted. I don't see it in the archives so I'm resending although I have some updates at the end. Original message-- After a long day of troubleshooting the amcheck message "WARNING: : selfcheck request f