[SSSD] [PATCH] fix nested groups

Simo Sorce ssorce at redhat.com
Sat Nov 28 00:13:55 UTC 2009


When I did the enumgrent optimization patch I totally forgot about
nested groups for some reason.
Of course I broke them. The gain in performance although was just way
too substantial to just revert to the previous way of resolving nested
groups again and again at every search.

These 2 patches instead store unrolled groups by adding a new
operational attribute: memberuid
This attribute contains just the user name of any user directly or
indirectly (through a nested group) members of a group.
This way computation is done once at modify time and never again.

Fixes bug #291

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Compute-and-save-memberuid-in-cache-as-well.patch
Type: text/x-patch
Size: 42796 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091127/7b73c3e9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Use-memberuid-and-not-member-in-group-enumerations.patch
Type: text/x-patch
Size: 6202 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091127/7b73c3e9/attachment-0001.bin>


More information about the sssd-devel mailing list