summaryrefslogtreecommitdiff
path: root/src/sss_client/nss_group.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-19sss_client: shared memory cache group map supportSimo Sorce1-0/+43
2012-02-23nss_group: Cache the result from sssd when the glibc provided buffer is too ↵Simo Sorce1-8/+145
small.
2012-01-18NSS: Add sss_readrep_copy_stringStephen Gallagher1-46/+20
There were many places in the client code where we were duplicating a loop to copy data in from the response buffer. This patch turns those loops into a function for easier maintenance and easier-to-read *readrep() routines.
2012-01-14NSS: Validate input string lengthsStephen Gallagher1-3/+12
Also fixes a return value bug where we were returning errno error codes instead of nss_status codes. Fixes https://fedorahosted.org/sssd/ticket/1135
2010-11-22sss_client: make code thread-safeSimo Sorce1-21/+64
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-13Rename group.c and passwd.c for clarityStephen Gallagher1-0/+446
Prefixing group.c and passwd.c with "nss_" similar to the way the PAM client sources are prefixed with "pam_"