summaryrefslogtreecommitdiff
path: root/src/responder/sudo/sudosrv_query.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-11-07 11:53:13 +0100
committerSimo Sorce <simo@redhat.com>2012-11-10 21:44:34 -0500
commit6722c85cb59c2d6fc223966c2b83cc3ea0d9aceb (patch)
tree4ae78d421151560000d80579d69b76614830664b /src/responder/sudo/sudosrv_query.c
parent1a456e464803c6d1e82081e9b4d618fa0b07b3d7 (diff)
downloadsssd-6722c85cb59c2d6fc223966c2b83cc3ea0d9aceb.tar.gz
sssd-6722c85cb59c2d6fc223966c2b83cc3ea0d9aceb.tar.bz2
sssd-6722c85cb59c2d6fc223966c2b83cc3ea0d9aceb.zip
Add pac_user_get_grp_info() to read current group memberships
To be able to efficiently store group memberships we need to know the current memberships of a user. sysdb_initgroups() is used to read the user entry together with all groups the user is a member of. Some of the group attributes are kept to avoid additional lookups and speed up further processing. Currently sysdb_initgroups() does not return the original DN of the group. Since it is needed to remove memberships later on it is added to the list of requested attributes
Diffstat (limited to 'src/responder/sudo/sudosrv_query.c')
0 files changed, 0 insertions, 0 deletions