[SSSD] [PATCH] Don't clean up groups for which a user has it as primary GID (1.2)

Stephen Gallagher sgallagh at redhat.com
Wed Nov 3 13:24:54 UTC 2010


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

Backporting to 1.2.x.

We were cleaning up all groups that were expired and for which
there existed no user with memberOf: <thegroup> as an attribute.

This patch modifies the search to also check for cached users with
this group's GID as their primary GID.

Fixes https://fedorahosted.org/sssd/ticket/624

- -- 
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/

iEYEARECAAYFAkzRYqYACgkQeiVVYja6o6O5qgCeO1Cyyl1JbmZDzJp5n4iux14+
sdoAoJJnxGEP90HQYzLzBQS06FAgVgsq
=KAf+
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-clean-up-groups-for-which-a-user-has-it-as-pri.patch
Type: text/x-patch
Size: 2370 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101103/c598a1f1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-clean-up-groups-for-which-a-user-has-it-as-pri.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101103/c598a1f1/attachment.sig>


More information about the sssd-devel mailing list