[SSSD] [PATCH] Fix list comparison in memberof module

Simo Sorce ssorce at redhat.com
Wed Apr 13 21:31:15 UTC 2011


When we replace the member attribute on an entry we calculate the list
of total addition vs deletions and then make sure a dn does not appear
in both at the same time.

The code was wrong and was skipping the next comparison each time a
match was found due to an array counter error.

This was causing unnecessary work to add entries that were already
present.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-memberof-fix-calculation-of-replaced-members.patch
Type: text/x-patch
Size: 954 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110413/81228bf3/attachment.bin>


More information about the sssd-devel mailing list