summaryrefslogtreecommitdiffstats
path: root/src/providers/proxy.c
Commit message (Collapse)AuthorAgeFilesLines
* Proxy provider PAM handling in child processStephen Gallagher2010-05-271-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).
* Add callback when the ID provider switches from offline to onlineStephen Gallagher2010-05-071-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.
* Silence warnings with -O2Jakub Hrozek2010-04-301-6/+18
|
* Make ID provider init functions clearerStephen Gallagher2010-04-161-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.
* proxy: complete conversion to synchronous sysdbSimo Sorce2010-04-121-1113/+428
| | | | This makes proxy use only synchronous functions again.
* sysdb: delete sysdb_delete_groupSimo Sorce2010-04-121-59/+10
|
* sysdb: convert sysdb_delete_userSimo Sorce2010-04-121-32/+4
|
* sysdb: convert sysdb_cache_passwordSimo Sorce2010-04-121-28/+9
|
* sysdb: convert sysdb_store/add(_basic)_groupSimo Sorce2010-04-121-108/+58
|
* sysdb: convert sysdb_store/add(_basic)_userSimo Sorce2010-04-121-172/+134
|
* sysdb: convert sysdb_delete_entryStephen Gallagher2010-04-121-66/+42
|
* Add forgotten \n in DEBUG statementsMartin Nagy2010-03-041-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.
* proxy: use correct _recv functionSimo Sorce2010-03-031-1/+1
|
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+2521
Also update BUILD.txt