Re: [SSSD] SSSD MemberOf / HBAC Process

2011-10-05 Thread JR Aquino
On Oct 5, 2011, at 10:39 AM, Stephen Gallagher wrote: > On Wed, 2011-10-05 at 13:31 -0400, Dmitri Pal wrote: >> On 10/05/2011 12:27 PM, JR Aquino wrote: >>> Can we not just perform a targeted search of the Originating Source's >>> hostname to query the hostgroups that it is a memberof and if it m

Re: [SSSD] SSSD MemberOf / HBAC Process

2011-10-05 Thread Stephen Gallagher
On Wed, 2011-10-05 at 13:31 -0400, Dmitri Pal wrote: > On 10/05/2011 12:27 PM, JR Aquino wrote: > > Can we not just perform a targeted search of the Originating Source's > > hostname to query the hostgroups that it is a memberof and if it matches > > any of the hostgroups listed as a srchost = pa

Re: [SSSD] SSSD MemberOf / HBAC Process

2011-10-05 Thread Dmitri Pal
On 10/05/2011 12:27 PM, JR Aquino wrote: > On Oct 5, 2011, at 4:30 AM, Stephen Gallagher wrote: > >> CCing sssd-devel >> >> On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: >>> So I have been looking through the results of ldbsearch and have been >>> wondering... >>> >>> Why is it that I see cac

Re: [SSSD] SSSD MemberOf / HBAC Process

2011-10-05 Thread JR Aquino
On Oct 5, 2011, at 4:30 AM, Stephen Gallagher wrote: > CCing sssd-devel > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: >> So I have been looking through the results of ldbsearch and have been >> wondering... >> >> Why is it that I see cached entries for objects (hbac/ hosts/ etc) that >

Re: [SSSD] [PATCH] Fix small bug where TALLOC_CTX could end up unfreed.

2011-10-05 Thread Pavel Zuna
patch for 1.6 attached. bug not present in 1.5. On 10/05/2011 03:12 PM, Jakub Hrozek wrote: On Wed, Oct 05, 2011 at 03:05:07PM +0200, Pavel Zuna wrote: patch attached. Pavel Ack. I think it would be nice to fix this in 1.5 and 1.6, too. Can you send a rebased patch? Pavel pzuna_sssd_00

Re: [SSSD] SSSD MemberOf / HBAC Process

2011-10-05 Thread JR Aquino
On Oct 5, 2011, at 4:30 AM, "Stephen Gallagher" wrote: > CCing sssd-devel > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: >> So I have been looking through the results of ldbsearch and have been >> wondering... >> >> Why is it that I see cached entries for objects (hbac/ hosts/ etc) tha

Re: [SSSD] Thoughts...

2011-10-05 Thread Simo Sorce
On Wed, 2011-10-05 at 14:38 +0200, Jan Zelený wrote: > > On Wed, 2011-10-05 at 07:58 -0400, Stephen Gallagher wrote: > > > On Wed, 2011-10-05 at 07:56 -0400, Simo Sorce wrote: > > > > On Wed, 2011-10-05 at 07:30 -0400, Stephen Gallagher wrote: > > > > > CCing sssd-devel > > > > > > > > > > On Tue,

Re: [SSSD] [PATCH] Fix small bug where TALLOC_CTX could end up unfreed.

2011-10-05 Thread Jakub Hrozek
On Wed, Oct 05, 2011 at 03:05:07PM +0200, Pavel Zuna wrote: > patch attached. > > Pavel Ack. I think it would be nice to fix this in 1.5 and 1.6, too. Can you send a rebased patch? ___ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://f

Re: [SSSD] [PATCH] Fix small bug where TALLOC_CTX could end up unfreed.

2011-10-05 Thread Stephen Gallagher
On Wed, 2011-10-05 at 15:05 +0200, Pavel Zuna wrote: > patch attached. Ack signature.asc Description: This is a digitally signed message part ___ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-d

[SSSD] [PATCH] Fix small bug where TALLOC_CTX could end up unfreed.

2011-10-05 Thread Pavel Zuna
patch attached. Pavel pzuna_sssd_0001_tallocctx.patch Description: application/mbox ___ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel

Re: [SSSD] Thoughts...

2011-10-05 Thread Sumit Bose
On Wed, Oct 05, 2011 at 07:56:09AM -0400, Simo Sorce wrote: > On Wed, 2011-10-05 at 07:30 -0400, Stephen Gallagher wrote: > > CCing sssd-devel > > > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: > > > So I have been looking through the results of ldbsearch and have been > > > wondering...

Re: [SSSD] Thoughts...

2011-10-05 Thread Jan Zelený
> On Wed, 2011-10-05 at 07:58 -0400, Stephen Gallagher wrote: > > On Wed, 2011-10-05 at 07:56 -0400, Simo Sorce wrote: > > > On Wed, 2011-10-05 at 07:30 -0400, Stephen Gallagher wrote: > > > > CCing sssd-devel > > > > > > > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: > > > > > So I have

Re: [SSSD] Thoughts...

2011-10-05 Thread Simo Sorce
On Wed, 2011-10-05 at 07:58 -0400, Stephen Gallagher wrote: > On Wed, 2011-10-05 at 07:56 -0400, Simo Sorce wrote: > > On Wed, 2011-10-05 at 07:30 -0400, Stephen Gallagher wrote: > > > CCing sssd-devel > > > > > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: > > > > So I have been looking t

Re: [SSSD] Thoughts...

2011-10-05 Thread Stephen Gallagher
On Wed, 2011-10-05 at 07:56 -0400, Simo Sorce wrote: > On Wed, 2011-10-05 at 07:30 -0400, Stephen Gallagher wrote: > > CCing sssd-devel > > > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: > > > So I have been looking through the results of ldbsearch and have been > > > wondering... > > >

Re: [SSSD] Thoughts...

2011-10-05 Thread Simo Sorce
On Wed, 2011-10-05 at 07:30 -0400, Stephen Gallagher wrote: > CCing sssd-devel > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: > > So I have been looking through the results of ldbsearch and have been > > wondering... > > > > Why is it that I see cached entries for objects (hbac/ hosts/ e

Re: [SSSD] Thoughts...

2011-10-05 Thread Jan Zelený
> CCing sssd-devel > > On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: > > So I have been looking through the results of ldbsearch and have been > > wondering... > > > > Why is it that I see cached entries for objects (hbac/ hosts/ etc) that > > have no correlation to the host itself? > > >

Re: [SSSD] Thoughts...

2011-10-05 Thread Jakub Hrozek
On Wed, Oct 05, 2011 at 07:30:04AM -0400, Stephen Gallagher wrote: > 1) Instead of doing a full purge followed by a full write, make only > changes. This will be a somewhat more complex logic to follow, but if > little or nothing has changed on the server, then it will save us a LOT > of memberOf o

Re: [SSSD] Thoughts...

2011-10-05 Thread Stephen Gallagher
CCing sssd-devel On Tue, 2011-10-04 at 22:41 +, JR Aquino wrote: > So I have been looking through the results of ldbsearch and have been > wondering... > > Why is it that I see cached entries for objects (hbac/ hosts/ etc) that > have no correlation to the host itself? > > Might it be more o