summaryrefslogtreecommitdiff
path: root/src/providers/proxy/proxy.h
AgeCommit message (Collapse)AuthorFilesLines
2013-08-19Remove include recursionLukas Slebodnik1-1/+0
Header file proxy.h included itself.
2013-04-02Making the authtok structure really opaque.Lukas Slebodnik1-2/+2
Definition of structure sss_auth_token was removed from header file authtok.h and there left only declaration of this structure. Therefore only way how to use this structure is to use accessory function from same header file. To creating new empty authotok can only be used newly created function sss_authtok_new(). TALLOC context was removed from copy and setter functions, because pointer to stuct sss_auth_token is used as a memory context. All declaration of struct sss_auth_token variables was replaced with pointer to this structure and related changes was made in source code. Function copy_pam_data can copy from argument src which was dynamically allocated with function create_pam_data() or zero initialized struct pam_data allocated on stack. https://fedorahosted.org/sssd/ticket/1830
2013-01-21Introduce be_req_terminate() helperSimo Sorce1-4/+0
Call it everywhere instead of directly dereferencing be_req->fn This is in preparation of making be_req opaque.
2013-01-10Change pam data auth tokens.Simo Sorce1-5/+2
Use the new authtok abstraction and interfaces throught the code.
2012-04-20proxy: new option proxy_fast_aliasJakub Hrozek1-0/+1
2012-02-04NSS: Add individual timeouts for entry typesStephen Gallagher1-1/+0
https://fedorahosted.org/sssd/ticket/1016
2012-01-27PROXY: add support for enumerating servicesStephen Gallagher1-0/+9
2012-01-27PROXY: add support for service lookups (non-enumeration)Stephen Gallagher1-0/+24
2011-12-16Use the case sensitivity flag in the proxy providerJakub Hrozek1-1/+1
2011-11-22Cleanup: Remove unused parametersJakub Hrozek1-1/+0
2010-12-15Fix memory leak of library handle in proxySumit Bose1-0/+1
https://fedorahosted.org/sssd/ticket/733
2010-10-25Implement netgroups for proxy providerSumit Bose1-0/+7
2010-10-25Add netgroups infrastructure to proxy providerSumit Bose1-0/+6
2010-06-30Split proxy.c into smaller filesStephen Gallagher1-0/+105
proxy.c was growing too large to manage (and some graphical development tools could no longer open it because of memory limitations). This patch splits proxy.c into the following files: proxy_init.c: Setup routines for the plugin proxy_id.c: Functions to handle user and group lookups proxy_auth.c: Functions to handle PAM interactions proxy_common.c: Common utility routines
2010-05-27Proxy provider PAM handling in child processStephen Gallagher1-0/+30
This patch adds a new tevent_req to the proxy provider, which will spawn short-lived child processes to handle PAM requests. These processes then call the proxied PAM stack and return the results via SBUS method reply. Once it is returned, the parent process kills the child. There is a maximum of ten child processes running simultaneously, after which requests will be queued for sending once a child slot frees up. The maximum processes will be made configurable at a later date (as this would violate string freeze).