summaryrefslogtreecommitdiff
path: root/src/responder/nss/nsssrv_private.h
AgeCommit message (Collapse)AuthorFilesLines
2013-05-03Add SID related calls to the NSS responderSumit Bose1-0/+1
The patch adds 4 new calls to the NSS responder: - SSS_NSS_GETSIDBYNAME - SSS_NSS_GETSIDBYID - SSS_NSS_GETNAMEBYSID - SSS_NSS_GETIDBYSID to either return the SIDs of the requested object or map the SID to the name or the POSIX ID of the related object.
2013-04-21Refactoring: remove duplicated code in nss responderSumit Bose1-0/+1
Different user and group lookup requests used nearly identical code, this patch unifies some of the related code paths.
2012-12-05Hook for mmap cache update on initgroup callsSimo Sorce1-0/+3
This set of functions enumerate the user's groups and invalidate them all if the list does not matches what we get from the caller.
2012-12-05Hook to perform a mmap cache update from sssd_nssSimo Sorce1-0/+3
This set of functions enumerate each user/group from all domains and invalidate any mmap cache record that matches.
2012-06-21Fix re_expression matching with subdomainsJan Zeleny1-1/+1
This patch fixes an issue which resulted in a need to initialize responder with data from local domain, otherwise it would not correctly detect requests for subdomains. Similar situation can occur if new subdomain is added at runtime. The solution is to ask for a list of subdomains in case there is a candidate domain identified in the process of matching re_expressions with given name.
2012-04-24Retrieve subdomains if there is a request for fully qualified userJan Zeleny1-0/+3
2012-02-17NSS: Always return the same protocol that was requestedStephen Gallagher1-0/+3
https://fedorahosted.org/sssd/ticket/1160
2012-02-13Remove setent structure when callback is calledJakub Hrozek1-1/+0
2012-02-05AUTOFS: responderJakub Hrozek1-3/+0
2012-02-05RESPONDERS: Refactor setent_req_listJakub Hrozek1-12/+10
Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder.
2012-01-31Refactor nss_cmd_send_emptyJakub Hrozek1-3/+0
2011-12-19Deleted declaration of nss_get_dom()Jan Zeleny1-4/+0
This function has been renamed to responder_get_domain() but this declaration hasn't been deleted.
2011-11-29RESPONDER: Refactor DP requests into tevent_req styleStephen Gallagher1-0/+1
2011-04-25Don't use negative cache in netgroup lookupJan Zeleny1-0/+1
In responder a negative cache is used to indicate that the record has not been found by previous lookup. This approach is however not applicable for netgroup lookup because the design of their lookup is a little different. This patch removes some pieces of code working with negative cache, because they didn't fuction well. Instead a new flag has been added to the positive cache. This flag indicates if the record in the cache is a record of existing netgroup or it's just a placeholder. https://fedorahosted.org/sssd/ticket/820
2011-01-06Remove unused enumeration cache timeout checksSumit Bose1-1/+0
The existence of the getent_ctx is used to track the enumeration cache timeout.
2011-01-06Post enumeration tevent request if neededSumit Bose1-0/+2
2010-10-13Also return member groups to the clientSumit Bose1-1/+1
2010-10-13Split out some helper functions for the NSS responderStephen Gallagher1-0/+130
Create a new private header and make some functions available for other object files.