summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_private.h
Commit message (Collapse)AuthorAgeFilesLines
* Add SID related calls to the NSS responderSumit Bose2013-05-031-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.
* Refactoring: remove duplicated code in nss responderSumit Bose2013-04-211-0/+1
| | | | | Different user and group lookup requests used nearly identical code, this patch unifies some of the related code paths.
* Hook for mmap cache update on initgroup callsSimo Sorce2012-12-051-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.
* Hook to perform a mmap cache update from sssd_nssSimo Sorce2012-12-051-0/+3
| | | | | This set of functions enumerate each user/group from all domains and invalidate any mmap cache record that matches.
* Fix re_expression matching with subdomainsJan Zeleny2012-06-211-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.
* Retrieve subdomains if there is a request for fully qualified userJan Zeleny2012-04-241-0/+3
|
* NSS: Always return the same protocol that was requestedStephen Gallagher2012-02-171-0/+3
| | | | https://fedorahosted.org/sssd/ticket/1160
* Remove setent structure when callback is calledJakub Hrozek2012-02-131-1/+0
|
* AUTOFS: responderJakub Hrozek2012-02-051-3/+0
|
* RESPONDERS: Refactor setent_req_listJakub Hrozek2012-02-051-12/+10
| | | | | Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder.
* Refactor nss_cmd_send_emptyJakub Hrozek2012-01-311-3/+0
|
* Deleted declaration of nss_get_dom()Jan Zeleny2011-12-191-4/+0
| | | | | This function has been renamed to responder_get_domain() but this declaration hasn't been deleted.
* RESPONDER: Refactor DP requests into tevent_req styleStephen Gallagher2011-11-291-0/+1
|
* Don't use negative cache in netgroup lookupJan Zeleny2011-04-251-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
* Remove unused enumeration cache timeout checksSumit Bose2011-01-061-1/+0
| | | | | The existence of the getent_ctx is used to track the enumeration cache timeout.
* Post enumeration tevent request if neededSumit Bose2011-01-061-0/+2
|
* Also return member groups to the clientSumit Bose2010-10-131-1/+1
|
* Split out some helper functions for the NSS responderStephen Gallagher2010-10-131-0/+130
Create a new private header and make some functions available for other object files.