summaryrefslogtreecommitdiff
path: root/src/sss_client/nss_netgroup.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-22sss_client: make code thread-safeSimo Sorce1-11/+37
Add mutexes around nss operations and serialize them. This is necessary because nss operations may have global state. For pam it is sufficient to protect socket operations instead. As pam functions use only the provided pam handler. Fixes: https://fedorahosted.org/sssd/ticket/640
2010-10-13Avoid a global variable in netgroup client.Sumit Bose1-37/+25
The structure which is used to store the result also provides elements to store a context for the netgroup enumeration call.
2010-10-13Add handling of nested netgroups to nss clientSumit Bose1-68/+104
2010-10-13Return NSS_STATUS_RETURN instead of NSS_STATUS_NOTFOUNDSumit Bose1-1/+1
NSS_STATUS_RETURN needs to be returned to glibc otherwise nested groups are not resolved by glibc.
2010-10-13Add support for netgroups to NSS sss_clientStephen Gallagher1-0/+292