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

Stephen Gallagher sgallagh at redhat.com
Thu Apr 14 15:20:39 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/13/2011 05:31 PM, Simo Sorce wrote:
> 
> 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.
> 

Ack.

- -- 
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.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2nEMcACgkQeiVVYja6o6MC7gCfQYU4Fsk2zLgIwYwd9qASdRcO
usMAoIQi5dgNUG1MdGa/99LwfJ3scHnO
=agwQ
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list