summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-09-20 14:02:39 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-10-15 09:03:07 -0400
commit3dd54ad87fd6a2bc8f646cd93be0329647e96f0e (patch)
treed068ed55f56cf9bb1ebde7f413dfc3ef1fe85b49 /contrib
parent7e15d2ed3c01ab3c1f5f882fe8fa974058097bc6 (diff)
downloadsssd-3dd54ad87fd6a2bc8f646cd93be0329647e96f0e.tar.gz
sssd-3dd54ad87fd6a2bc8f646cd93be0329647e96f0e.tar.bz2
sssd-3dd54ad87fd6a2bc8f646cd93be0329647e96f0e.zip
Save dummy groups to cache during initgroups
If during initgroups operation we find out that any of the groups the user is a member of is not cached yet we add a incomplete, expired group entry. That way, we save ourselves from looking up and saving all the potential user entries the group may also consist of. Because the group is expired, it will be refreshed during the next getgrgid/getgrnam call and correct member list will be returned.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions