summaryrefslogtreecommitdiffstats
path: root/src/sss_client/nss_netgroup.c
Commit message (Collapse)AuthorAgeFilesLines
* sss_client: make code thread-safeSimo Sorce2010-11-221-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
* Avoid a global variable in netgroup client.Sumit Bose2010-10-131-37/+25
| | | | | The structure which is used to store the result also provides elements to store a context for the netgroup enumeration call.
* Add handling of nested netgroups to nss clientSumit Bose2010-10-131-68/+104
|
* Return NSS_STATUS_RETURN instead of NSS_STATUS_NOTFOUNDSumit Bose2010-10-131-1/+1
| | | | | NSS_STATUS_RETURN needs to be returned to glibc otherwise nested groups are not resolved by glibc.
* Add support for netgroups to NSS sss_clientStephen Gallagher2010-10-131-0/+292