[SSSD] [PATCH] Save dummy groups to cache during initgroups (master)

Jakub Hrozek jhrozek at redhat.com
Thu Sep 30 12:38:43 UTC 2010


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

[PATCH 1/2] sysdb interface for adding fake groups
Adds a sysdb_add_fake_group() call that adds an expired group entry.

Also tweaks the NSS code a little so the fake group entries that are
invalid are skipped. This is not how we use the fake groups in patch #2
as we also store the gid, but I think it's worth making sure we don't
return fake groups now that we have a mechanism to add them.

[PATCH 2/2] Save dummy groups to cache during initgroups
When performing initgroups/getgrouplist on RFC2307, add fake group
entries for those groups that are not cached already. That way, complete
group membership is returned without saving complete group objects.

These two patches apply to master only but I have a 1.2 counterpart -
currently only in my fedorapeople repo - I can resend them when/if these
are approved as these read much easily, so I think it makes sense to
review them first.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkykhNMACgkQHsardTLnvCVyDgCgqOgmne9qYk9l1uEyB32mJWn5
LQcAnRNErXrbmwHVY49Gx5IANUF946dr
=O6nl
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sysdb-interface-for-adding-fake-groups.patch
Type: text/x-patch
Size: 6493 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100930/8e216b8d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Save-dummy-groups-to-cache-during-initgroups.patch
Type: text/x-patch
Size: 5254 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100930/8e216b8d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sysdb-interface-for-adding-fake-groups.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100930/8e216b8d/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Save-dummy-groups-to-cache-during-initgroups.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100930/8e216b8d/attachment-0001.sig>


More information about the sssd-devel mailing list