-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/16/2010 05:05 PM, Stephen Gallagher wrote:
I've rewritten these patches. Now, instead of searching for individual
netgroup entries, the code will take advantage of the memberOf plugin to
return all netgroup triples in a single call to sysdb_getnetgr()
This approach will make life easier with LDAP as well, as we will have
built-in loop prevention.
Please review these patches while my netgroup work is ongoing.
Patch 0001: New sysdb interfaces for netgroups. Add and delete support
for netgroups entries, tuples and nested netgroups.
Patch 0002: Unit tests for the above interfaces.
Yet another change to these patches.
I realized that I actually need to get back the three strings from the
triple instead of the internal representation. It makes the most sense
for this to be done in sysdb_getnetgr(), so attached are two new patches
which changes the interface (again) to return a structure of three
strings instead of a single string representing the tuple.
- --
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/
iEYEARECAAYFAkyTgegACgkQeiVVYja6o6MRMgCfR64lKLSYhHxfQK+V7q/onoXV
l9cAn1acttX45PVAcBH4hA47TszJ7RJ5
=uENr
-----END PGP SIGNATURE-----