Re: [SSSD] [PATCHES] Fix behavior of 1.5 when backend is stopped

2013-01-30 Thread Jakub Hrozek
On Wed, Jan 30, 2013 at 04:22:25PM +0100, Jakub Hrozek wrote: > On Mon, Jan 28, 2013 at 06:35:09PM +0100, Michal Židek wrote: > > On 01/14/2013 03:44 PM, Ondrej Kos wrote: > > >Hi, > > > > > >in sssd-1-5, when the backend process is stopped until the pings time > > >out and backend is restarted, th

Re: [SSSD] [PATCHES] Fix behavior of 1.5 when backend is stopped

2013-01-30 Thread Jakub Hrozek
On Mon, Jan 28, 2013 at 06:35:09PM +0100, Michal Židek wrote: > On 01/14/2013 03:44 PM, Ondrej Kos wrote: > >Hi, > > > >in sssd-1-5, when the backend process is stopped until the pings time > >out and backend is restarted, the monitor is still trying to ping the > >old process, which results in fau

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed 30 Jan 2013 08:48:41 AM EST, Stephen Gallagher wrote: > * *BEGIN ENCRYPTED or SIGNED PART* * > > On 01/30/2013 08:05 AM, Pavel Březina wrote: >> On 01/30/2013 01:20 PM, Jakub Hrozek wrote: >>> On Wed, Jan 30, 2013 at 12:16:04PM +

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2013 08:05 AM, Pavel Březina wrote: > On 01/30/2013 01:20 PM, Jakub Hrozek wrote: >> On Wed, Jan 30, 2013 at 12:16:04PM +0100, Pavel Březina wrote: >>> On 01/30/2013 12:12 PM, Pavel Březina wrote: On 01/29/2013 03:55 PM, Pavel Březina wro

[SSSD] [PATCH] dp: check whether hostid backend is configured before filing be request

2013-01-30 Thread Pavel Březina
I prepared this patch as a part of [1]. I provided the reported a gdb script to help localize the code where we mess up with hostid data, but the reporter does not see the issue any more, thus I'm sending the patch separately. It is definitely not a solution for #1751, but at least sssd will not

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Jakub Hrozek
On Wed, Jan 30, 2013 at 02:31:55PM +0100, Jakub Hrozek wrote: > On Wed, Jan 30, 2013 at 02:05:31PM +0100, Pavel Březina wrote: > > On 01/30/2013 01:20 PM, Jakub Hrozek wrote: > > >On Wed, Jan 30, 2013 at 12:16:04PM +0100, Pavel Březina wrote: > > >>On 01/30/2013 12:12 PM, Pavel Březina wrote: > > >

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Jakub Hrozek
On Wed, Jan 30, 2013 at 02:05:31PM +0100, Pavel Březina wrote: > On 01/30/2013 01:20 PM, Jakub Hrozek wrote: > >On Wed, Jan 30, 2013 at 12:16:04PM +0100, Pavel Březina wrote: > >>On 01/30/2013 12:12 PM, Pavel Březina wrote: > >>>On 01/29/2013 03:55 PM, Pavel Březina wrote: > ccache: recreate cc

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Pavel Březina
On 01/30/2013 01:20 PM, Jakub Hrozek wrote: On Wed, Jan 30, 2013 at 12:16:04PM +0100, Pavel Březina wrote: On 01/30/2013 12:12 PM, Pavel Březina wrote: On 01/29/2013 03:55 PM, Pavel Březina wrote: ccache: recreate ccache if it was deleted https://fedorahosted.org/sssd/ticket/1512 Self nack.

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Jakub Hrozek
On Wed, Jan 30, 2013 at 12:16:04PM +0100, Pavel Březina wrote: > On 01/30/2013 12:12 PM, Pavel Březina wrote: > >On 01/29/2013 03:55 PM, Pavel Březina wrote: > >>ccache: recreate ccache if it was deleted > >> > >>https://fedorahosted.org/sssd/ticket/1512 > > > >Self nack. > > > >The previous versio

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Pavel Březina
On 01/30/2013 12:12 PM, Pavel Březina wrote: On 01/29/2013 03:55 PM, Pavel Březina wrote: ccache: recreate ccache if it was deleted https://fedorahosted.org/sssd/ticket/1512 Self nack. The previous version would recreate the ccache everytime, because kr->old_ccname is in TYPE:RESIDUAL format

Re: [SSSD] [PATCH] ccache: recreate ccache if it was deleted

2013-01-30 Thread Pavel Březina
On 01/29/2013 03:55 PM, Pavel Březina wrote: ccache: recreate ccache if it was deleted https://fedorahosted.org/sssd/ticket/1512 Self nack. The previous version would recreate the ccache everytime, because kr->old_ccname is in TYPE:RESIDUAL format. I switched to krb5_cc_resolve(). New patch