On Tue, 05 Oct 2010 19:10:40 +0200
Jakub Hrozek <jhrozek(a)redhat.com> wrote:
[PATCH 1/2] sysdb interface for adding fake groups
Adds a sysdb_add_fake_group_send() call that adds an expired group
entry.
[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.
It makes me a bit nervous to create "fake groups" which are not really
fake and have a gidnumber = 0
But we always treat 0 as something we can't return, so it should be
good enough.
Ack.
Simo.
--
Simo Sorce * Red Hat, Inc * New York