summaryrefslogtreecommitdiff
path: root/src/sss_client/nss_passwd.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-22Fix errors reported by rpmlintJan Cholasta1-3/+2
2012-03-19sss_client: shared memory cache passwd map supportSimo Sorce1-0/+37
2012-01-18NSS: Add sss_readrep_copy_stringStephen Gallagher1-70/+29
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-18/+53
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/+378
Prefixing group.c and passwd.c with "nss_" similar to the way the PAM client sources are prefixed with "pam_"