-----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 needed: >> https://fedorahosted.org/sssd/wiki/DesignDocs/Netgroups > >> My goal is to have this work completed before the end of September. > > > I asked my question as another bullet point to the wiki, but Stephen > reminded me there's probably a wider audience on this list. > > This was the question and answer: > > Q: Maybe this is too low-level at this time, but is a cleanup task planned? > A: Netgroups should be handled in the same way that users and groups are > handled, so I will probably have to extend the existing cleanup task to > also address the netgroups entries in the cache
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 of setnetgrent_send() will recursively call out a subrequest to setnetgrent_send() again for each of the named nested groups. The setnetgrent_recv() function will return a libcollection object containing all of the results from that request (as well as any additional subrequests called). When the results come back up, they can be added together trivially using the col_add_collection_to_collection() interface with the col_add_mode_clone mode. - -- Stephen Gallagher RHCE 804006346421761 Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkyHicQACgkQeiVVYja6o6PklgCfaOrYEXwo7KhNepXT//rGBSHd vhcAn09U1wcNzjLZ8ztRQ7pXGmhZ4bQs =jLf/ -----END PGP SIGNATURE----- _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel