Searched refs:main_ctx (Results 1 - 18 of 18) sorted by relevance

/sssd/src/tests/cwrap/
H A Dtest_server.c96 struct main_context *main_ctx; local
105 __FUNCTION__, &main_ctx);
115 struct main_context *main_ctx; local
128 __FUNCTION__, &main_ctx);
138 struct main_context *main_ctx; local
153 0, 0, __FUNCTION__, &main_ctx);
156 server_loop(main_ctx);
/sssd/src/responder/autofs/
H A Dautofssrv.c188 struct main_context *main_ctx; local
224 CONFDB_AUTOFS_CONF_ENTRY, &main_ctx);
236 ret = autofs_process_init(main_ctx,
237 main_ctx->event_ctx,
238 main_ctx->confdb_ctx);
244 server_loop(main_ctx);
/sssd/src/responder/secrets/
H A Dsecsrv.c183 struct main_context *main_ctx; local
219 &main_ctx);
229 ret = sec_process_init(main_ctx,
230 main_ctx->event_ctx,
231 main_ctx->confdb_ctx);
235 server_loop(main_ctx);
/sssd/src/responder/ssh/
H A Dsshsrv.c180 struct main_context *main_ctx; local
216 CONFDB_SSH_CONF_ENTRY, &main_ctx);
228 ret = ssh_process_init(main_ctx,
229 main_ctx->event_ctx,
230 main_ctx->confdb_ctx);
236 server_loop(main_ctx);
/sssd/src/responder/sudo/
H A Dsudosrv.c170 struct main_context *main_ctx; local
206 &main_ctx);
218 ret = sudo_process_init(main_ctx,
219 main_ctx->event_ctx,
220 main_ctx->confdb_ctx);
226 server_loop(main_ctx);
/sssd/src/providers/ipa/
H A Dselinux_child.c197 TALLOC_CTX *main_ctx = NULL; local
282 main_ctx = talloc_new(NULL);
283 if (main_ctx == NULL) {
288 talloc_steal(main_ctx, debug_prg_name);
290 buf = talloc_size(main_ctx, sizeof(uint8_t)*IN_BUF_SIZE);
296 ibuf = talloc_zero(main_ctx, struct input_buffer);
332 ret = prepare_response(main_ctx, ret, &resp);
356 talloc_free(main_ctx);
361 talloc_free(main_ctx);
/sssd/src/responder/pac/
H A Dpacsrv.c212 struct main_context *main_ctx; local
248 CONFDB_PAC_CONF_ENTRY, &main_ctx);
257 ret = pac_process_init(main_ctx,
258 main_ctx->event_ctx,
259 main_ctx->confdb_ctx);
263 server_loop(main_ctx);
/sssd/src/responder/ifp/
H A Difpsrv.c358 struct main_context *main_ctx; local
394 CONFDB_IFP_CONF_ENTRY, &main_ctx);
404 ret = ifp_process_init(main_ctx,
405 main_ctx->event_ctx,
406 main_ctx->confdb_ctx);
410 server_loop(main_ctx);
/sssd/src/responder/pam/
H A Dpamsrv.c325 struct main_context *main_ctx; local
381 ret = server_setup("sssd[pam]", 0, uid, gid, CONFDB_PAM_CONF_ENTRY, &main_ctx);
391 ret = pam_process_init(main_ctx,
392 main_ctx->event_ctx,
393 main_ctx->confdb_ctx,
398 server_loop(main_ctx);
/sssd/src/providers/ldap/
H A Dldap_child.c604 TALLOC_CTX *main_ctx = NULL; local
665 main_ctx = talloc_new(NULL);
666 if (main_ctx == NULL) {
671 talloc_steal(main_ctx, debug_prg_name);
673 buf = talloc_size(main_ctx, sizeof(uint8_t)*IN_BUF_SIZE);
679 ibuf = talloc_zero(main_ctx, struct input_buffer);
721 kerr = ldap_child_get_tgt_sync(main_ctx, ibuf->context,
730 ret = prepare_response(main_ctx, ccname, expire_time, kerr, &resp);
754 talloc_free(main_ctx);
760 talloc_free(main_ctx);
[all...]
/sssd/src/p11_child/
H A Dp11_child_nss.c498 TALLOC_CTX *main_ctx = NULL; local
645 main_ctx = talloc_new(NULL);
646 if (main_ctx == NULL) {
651 talloc_steal(main_ctx, debug_prg_name);
653 ret = parse_cert_verify_opts(main_ctx, verify_opts, &cert_verify_opts);
660 ret = p11c_recv_data(main_ctx, STDIN_FILENO, &pin);
667 ret = do_work(main_ctx, nss_db, slot_name_in, mode, pin, cert_verify_opts,
679 talloc_free(main_ctx);
684 talloc_free(main_ctx);
/sssd/src/providers/ad/
H A Dad_gpo_child.c693 TALLOC_CTX *main_ctx = NULL; local
749 main_ctx = talloc_new(NULL);
750 if (main_ctx == NULL) {
755 talloc_steal(main_ctx, debug_prg_name);
757 buf = talloc_size(main_ctx, sizeof(uint8_t)*IN_BUF_SIZE);
763 ibuf = talloc_zero(main_ctx, struct input_buffer);
803 ret = prepare_response(main_ctx, sysvol_gpt_version, result, &resp);
828 talloc_free(main_ctx);
834 talloc_free(main_ctx);
/sssd/src/providers/
H A Ddata_provider_be.c492 struct main_context *main_ctx; local
541 ret = server_setup(srv_name, 0, 0, 0, confdb_path, &main_ctx);
560 ret = be_process_init(main_ctx,
562 main_ctx->event_ctx,
563 main_ctx->confdb_ctx);
585 server_loop(main_ctx);
/sssd/src/responder/nss/
H A Dnsssrv.c537 struct main_context *main_ctx; local
573 &main_ctx);
583 ret = nss_process_init(main_ctx,
584 main_ctx->event_ctx,
585 main_ctx->confdb_ctx);
589 server_loop(main_ctx);
/sssd/src/providers/proxy/
H A Dproxy_child.c510 struct main_context *main_ctx; local
570 ret = server_setup(srv_name, 0, 0, 0, conf_entry, &main_ctx);
582 ret = confdb_get_string(main_ctx->confdb_ctx, main_ctx, conf_entry,
601 ret = proxy_child_process_init(main_ctx, domain, main_ctx->event_ctx,
602 main_ctx->confdb_ctx, pam_target,
614 server_loop(main_ctx);
/sssd/src/util/
H A Dserver.c449 struct main_context **main_ctx)
697 *main_ctx = ctx;
701 void server_loop(struct main_context *main_ctx) argument
705 tevent_loop_wait(main_ctx->event_ctx);
709 talloc_free(main_ctx->event_ctx);
446 server_setup(const char *name, int flags, uid_t uid, gid_t gid, const char *conf_entry, struct main_context **main_ctx) argument
H A Dutil.h177 struct main_context **main_ctx);
178 void server_loop(struct main_context *main_ctx);
/sssd/src/monitor/
H A Dmonitor.c2490 struct main_context *main_ctx; local
2711 monitor->conf_path, &main_ctx);
2715 monitor->parent_pid = main_ctx->parent_pid;
2716 monitor->ev = main_ctx->event_ctx;
2717 talloc_steal(main_ctx, monitor);
2725 server_loop(main_ctx);

Completed in 4384 milliseconds