summaryrefslogtreecommitdiffstats
path: root/src/sss_client/nss_group.c
Commit message (Collapse)AuthorAgeFilesLines
* sss_client: Group lookups should work even when fastcache cannot be initializedJakub Hrozek2012-08-131-8/+2
| | | | https://fedorahosted.org/sssd/ticket/1415
* sss_client: shared memory cache group map supportSimo Sorce2012-03-191-0/+43
|
* nss_group: Cache the result from sssd when the glibc provided buffer is too ↵Simo Sorce2012-02-231-8/+145
| | | | small.
* NSS: Add sss_readrep_copy_stringStephen Gallagher2012-01-181-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.
* NSS: Validate input string lengthsStephen Gallagher2012-01-141-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
* sss_client: make code thread-safeSimo Sorce2010-11-221-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
* Rename group.c and passwd.c for clarityStephen Gallagher2010-10-131-0/+446
Prefixing group.c and passwd.c with "nss_" similar to the way the PAM client sources are prefixed with "pam_"