summaryrefslogtreecommitdiffstats
path: root/src/sss_client/nss_group.c
Commit message (Collapse)AuthorAgeFilesLines
* Suppress safealign warnings with DISCARD_ALIGN.Michal Zidek2014-07-011-1/+1
| | | | | | | | These warnings were all false positives. fixes: https://fedorahosted.org/sssd/ticket/1359 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
* Properly align buffer when storing pointers.Michal Zidek2013-12-101-5/+3
| | | | | | | | Properly align buffer address to sizeof(char *) when storing pointers to strings. resolves: https://fedorahosted.org/sssd/ticket/1359
* sss_client: Use SAFEALIGN_COPY_<type> macros where appropriate.Michal Zidek2013-12-031-9/+25
| | | | | resolves: https://fedorahosted.org/sssd/ticket/1359
* Fix errors reported by rpmlintJan Cholasta2012-11-221-3/+2
|
* 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_"