summaryrefslogtreecommitdiff
path: root/src/providers/proxy.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-27Proxy provider PAM handling in child processStephen Gallagher1-1650/+0
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).
2010-05-07Add callback when the ID provider switches from offline to onlineStephen Gallagher1-0/+10
Allow backends to set a callback in the be_ctx that should be invoked when the ID provider goes online. This can be used to perform regular maintenance tasks that are valid only when going online.
2010-04-30Silence warnings with -O2Jakub Hrozek1-6/+18
2010-04-16Make ID provider init functions clearerStephen Gallagher1-2/+2
Using sssm_*_init() as the name of the initialization function for identity providers was a holdover from earlier development when we thought we would only have a single "provider" entry in the config file. As we have now separated out the initialization functions for auth, chpass and access, we should rename sssm_*_init() to sssm_*_id_init() for a cleaner interface.
2010-04-12proxy: complete conversion to synchronous sysdbSimo Sorce1-1113/+428
This makes proxy use only synchronous functions again.
2010-04-12sysdb: delete sysdb_delete_groupSimo Sorce1-59/+10
2010-04-12sysdb: convert sysdb_delete_userSimo Sorce1-32/+4
2010-04-12sysdb: convert sysdb_cache_passwordSimo Sorce1-28/+9
2010-04-12sysdb: convert sysdb_store/add(_basic)_groupSimo Sorce1-108/+58
2010-04-12sysdb: convert sysdb_store/add(_basic)_userSimo Sorce1-172/+134
2010-04-12sysdb: convert sysdb_delete_entryStephen Gallagher1-66/+42
2010-03-04Add forgotten \n in DEBUG statementsMartin Nagy1-1/+1
Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too.
2010-03-03proxy: use correct _recv functionSimo Sorce1-1/+1
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+2521
Also update BUILD.txt