Re: [SSSD] Netgroups in SSSD

2010-09-13 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/13/2010 12:07 PM, Dmitri Pal wrote: > > If I read it right you are saying that the callback is invoked first and > it in turn invokes setnetgrent_recv() from itself. If this is the case > then my statement in general is true. And the problem I s

Re: [SSSD] Netgroups in SSSD

2010-09-13 Thread Dmitri Pal
Stephen Gallagher wrote: > On 09/13/2010 08:13 AM, Stephen Gallagher wrote: > > > The idea behind the hash is actually to have it double as a reference > > count and a loop-detection mechanism. It doesn't need to be a hash (it > > could just as easily be a b-tree), but since we already have an > >

Re: [SSSD] Netgroups in SSSD

2010-09-13 Thread Dmitri Pal
Stephen Gallagher wrote: > On 09/10/2010 09:42 AM, Dmitri Pal wrote: > > Stephen Gallagher wrote: > >> On 09/08/2010 09:04 AM, Stephen Gallagher wrote: > >>> I've also been thinking about how we're going to handle processing the > >>> nested groups, and I think what I'm going to do is take advantag

Re: [SSSD] Netgroups in SSSD

2010-09-13 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/13/2010 08:13 AM, Stephen Gallagher wrote: > The idea behind the hash is actually to have it double as a reference > count and a loop-detection mechanism. It doesn't need to be a hash (it > could just as easily be a b-tree), but since we already

Re: [SSSD] Netgroups in SSSD

2010-09-13 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/10/2010 09:42 AM, Dmitri Pal wrote: > Stephen Gallagher wrote: >> On 09/08/2010 09:04 AM, Stephen Gallagher wrote: >>> I've also been thinking about how we're going to handle processing the >>> nested groups, and I think what I'm going to do is t

Re: [SSSD] Netgroups in SSSD

2010-09-10 Thread Dmitri Pal
Stephen Gallagher wrote: > On 09/08/2010 09:04 AM, Stephen Gallagher wrote: > > I've also been thinking about how we're going to handle processing the > > nested groups, and I think what I'm going to do is take advantage of > > some of the nicer features of libcollection. > > > Internal processing

Re: [SSSD] Netgroups in SSSD

2010-09-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/2010 09:04 AM, Stephen Gallagher wrote: > > I've also been thinking about how we're going to handle processing the > nested groups, and I think what I'm going to do is take advantage of > some of the nicer features of libcollection. > > Inte

Re: [SSSD] Netgroups in SSSD

2010-09-08 Thread Dmitri Pal
Stephen Gallagher wrote: > On 09/08/2010 02:07 PM, Dmitri Pal wrote: > > Yes, I agree, though I feel there is a way to do it nicely. I just can't > > visualize it. > > > But... > > So what will you do if you have two netgroups: A and B. B is a > member of A. > > The caller fetched B and then a seco

Re: [SSSD] Netgroups in SSSD

2010-09-08 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/2010 02:07 PM, Dmitri Pal wrote: > Yes, I agree, though I feel there is a way to do it nicely. I just can't > visualize it. > > But... > So what will you do if you have two netgroups: A and B. B is a member of A. > The caller fetched B and th

Re: [SSSD] Netgroups in SSSD

2010-09-08 Thread Dmitri Pal
Stephen Gallagher wrote: > On 09/08/2010 12:00 PM, Dmitri Pal wrote: > > Stephen Gallagher wrote: > >> On 09/08/2010 08:26 AM, Jakub Hrozek wrote: > >>> On 09/08/2010 02:12 AM, Stephen Gallagher wrote: > I have written up a problem statement and a brief overview of my > plans > regarding

Re: [SSSD] Netgroups in SSSD

2010-09-08 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/2010 12:00 PM, Dmitri Pal wrote: > Stephen Gallagher wrote: >> On 09/08/2010 08:26 AM, Jakub Hrozek wrote: >>> On 09/08/2010 02:12 AM, Stephen Gallagher wrote: I have written up a problem statement and a brief overview of my plans re

Re: [SSSD] Netgroups in SSSD

2010-09-08 Thread Dmitri Pal
Stephen Gallagher wrote: > On 09/08/2010 08:26 AM, Jakub Hrozek wrote: > > On 09/08/2010 02:12 AM, Stephen Gallagher wrote: > >> I have written up a problem statement and a brief overview of my plans > >> regarding netgroup support in the SSSD. > >> Please read through and comment as needed: > >> h

Re: [SSSD] Netgroups in SSSD

2010-09-08 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/2010 08:26 AM, Jakub Hrozek wrote: > On 09/08/2010 02:12 AM, Stephen Gallagher wrote: >> I have written up a problem statement and a brief overview of my plans >> regarding netgroup support in the SSSD. > >> Please read through and comment as

Re: [SSSD] Netgroups in SSSD

2010-09-08 Thread Jakub Hrozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/2010 02:12 AM, Stephen Gallagher wrote: > I have written up a problem statement and a brief overview of my plans > regarding netgroup support in the SSSD. > > Please read through and comment as needed: > https://fedorahosted.org/sssd/wiki/Des

[SSSD] Netgroups in SSSD

2010-09-07 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have written up a problem statement and a brief overview of my plans regarding netgroup support in the SSSD. Please read through and comment as needed: https://fedorahosted.org/sssd/wiki/DesignDocs/Netgroups My goal is to have this work completed