History log of /sssd/src/sss_client/nss_netgroup.c
Revision Date Author Comments Expand
a171d77f40aa92e240e91aa4bafe5a392a98b5a2 03-Dec-2013 Michal Zidek <mzidek@redhat.com>

sss_client: Use SAFEALIGN_COPY_<type> macros where appropriate. resolves: https://fedorahosted.org/sssd/ticket/1359

fd3714d0cf068f3c782c1fff32105fc51cc97a0e 18-Jan-2012 Stephen Gallagher <sgallagh@redhat.com>

NSS: Add sss_readrep_copy_string 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.

22c7230dc0c8d41a189eb758be78991d183de1f7 14-Jan-2012 Stephen Gallagher <sgallagh@redhat.com>

NSS: Validate input string lengths 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

c89589fa349f38214c9cb8d9389c0fd557e5dca2 22-Nov-2010 Simo Sorce <ssorce@redhat.com>

sss_client: make code thread-safe 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

60dceaee2014822717a3f22e1b65b228e20cc5f0 13-Oct-2010 Sumit Bose <sbose@redhat.com>

Avoid a global variable in netgroup client. The structure which is used to store the result also provides elements to store a context for the netgroup enumeration call.

36fc83f3f64bb16db7bef3e1cebe829424edacd1 13-Oct-2010 Sumit Bose <sbose@redhat.com>

Add handling of nested netgroups to nss client

c640ae818270b1e8d57190516587d06c007d3938 13-Oct-2010 Sumit Bose <sbose@redhat.com>

Return NSS_STATUS_RETURN instead of NSS_STATUS_NOTFOUND NSS_STATUS_RETURN needs to be returned to glibc otherwise nested groups are not resolved by glibc.

f128b7b865062da662127712935dcc58bd022384 13-Oct-2010 Stephen Gallagher <sgallagh@redhat.com>

Add support for netgroups to NSS sss_client