Searched defs:pctx (Results 1 - 17 of 17) sorted by relevance

/sssd/src/responder/nss/
H A Dnsssrv.h51 struct getent_ctx *pctx; member in struct:nss_ctx
H A Dnsssrv_netgroup.c97 struct cli_protocol *pctx; local
115 pctx = talloc_get_type(client->protocol_ctx, struct cli_protocol);
118 sss_packet_get_body(pctx->creq->in, &body, &blen);
739 struct cli_protocol *pctx; local
751 pctx = talloc_get_type(cmdctx->cctx->protocol_ctx, struct cli_protocol);
754 ret = sss_packet_new(pctx->creq, 0,
755 sss_packet_get_cmd(pctx->creq->in),
756 &pctx->creq->out);
760 sss_cmd_empty_packet(pctx->creq->out);
762 packet = pctx
936 struct cli_protocol *pctx; local
990 struct cli_protocol *pctx; local
1108 struct cli_protocol *pctx; local
[all...]
H A Dnsssrv_services.c793 struct cli_protocol *pctx; local
815 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
818 sss_packet_get_body(pctx->creq->in, &body, &blen);
992 struct cli_protocol *pctx; local
1006 pctx = talloc_get_type(cmdctx->cctx->protocol_ctx, struct cli_protocol);
1009 ret = sss_packet_new(pctx->creq, 0,
1010 sss_packet_get_cmd(pctx->creq->in),
1011 &pctx->creq->out);
1015 ret = sss_cmd_empty_packet(pctx->creq->out);
1018 ret = fill_service(pctx
1113 struct cli_protocol *pctx; local
1625 struct cli_protocol *pctx; local
1741 struct cli_protocol *pctx; local
1775 struct cli_protocol *pctx; local
1827 struct cli_protocol *pctx; local
[all...]
H A Dnsssrv_cmd.c526 struct cli_protocol *pctx; local
531 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
534 ret = sss_packet_new(pctx->creq, 0,
535 sss_packet_get_cmd(pctx->creq->in),
536 &pctx->creq->out);
542 ret = fill_pwent(pctx->creq->out,
549 sss_packet_set_error(pctx->creq->out, EOK);
1407 struct cli_protocol *pctx; local
1438 pctx = talloc_get_type(cmdctx->cctx->protocol_ctx, struct cli_protocol);
1439 ret = sss_packet_new(pctx
1468 struct cli_protocol *pctx; local
1901 struct cli_protocol *pctx; local
2295 struct getent_ctx *pctx = step_ctx->getent_ctx; local
2468 struct cli_protocol *pctx; local
2535 struct cli_protocol *pctx; local
2568 struct cli_protocol *pctx; local
2661 struct cli_protocol *pctx; local
2965 struct cli_protocol *pctx; local
3648 struct cli_protocol *pctx; local
3670 struct cli_protocol *pctx; local
3721 struct cli_protocol *pctx; local
3830 struct cli_protocol *pctx; local
4096 struct cli_protocol *pctx; local
5123 struct cli_protocol *pctx; local
5190 struct cli_protocol *pctx; local
5251 struct cli_protocol *pctx; local
5371 struct cli_protocol *pctx; local
5417 struct cli_protocol *pctx; local
[all...]
/sssd/src/responder/pac/
H A Dpacsrv_cmd.c32 struct cli_protocol *pctx; local
40 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
42 ret = sss_packet_new(pctx->creq, 0, sss_packet_get_cmd(pctx->creq->in),
43 &pctx->creq->out);
50 sss_packet_set_error(pctx->creq->out, cmd_ret);
84 struct cli_protocol *pctx; local
86 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
88 sss_packet_get_body(pctx->creq->in, &body, &blen);
/sssd/src/responder/pam/
H A Dpamsrv.c93 static errno_t get_trusted_uids(struct pam_ctx *pctx) argument
98 ret = confdb_get_string(pctx->rctx->cdb, pctx->rctx,
108 pctx->trusted_uids_count = 0;
110 ret = csv_string_to_uid_array(pctx->rctx, uid_str, true,
111 &pctx->trusted_uids_count,
112 &pctx->trusted_uids);
125 static errno_t get_public_domains(TALLOC_CTX *mem_ctx, struct pam_ctx *pctx) argument
130 ret = confdb_get_string(pctx->rctx->cdb, pctx
177 struct pam_ctx *pctx; local
[all...]
H A Dpamsrv_p11.c38 errno_t p11_child_init(struct pam_ctx *pctx) argument
40 return child_debug_init(P11_CHILD_LOG_FILE, &pctx->p11_child_debug_fd);
43 bool may_do_cert_auth(struct pam_ctx *pctx, struct pam_data *pd) argument
49 if (!pctx->cert_auth) {
H A Dpamsrv_cmd.c696 struct pam_ctx *pctx; local
706 pctx = talloc_get_type(preq->cctx->rctx->pvt_ctx, struct pam_ctx);
709 ret = confdb_get_int(pctx->rctx->cdb, CONFDB_PAM_CONF_ENTRY,
756 pctx->rctx->cdb, false,
854 ret = confdb_get_string(pctx->rctx->cdb, pd, CONFDB_PAM_CONF_ENTRY,
869 ret = confdb_get_string(pctx->rctx->cdb, pd, CONFDB_PAM_CONF_ENTRY,
882 ret = filter_responses(pctx->rctx->cdb, pd->resp_list, pd);
1176 struct pam_ctx *pctx,
1186 ret = confdb_get_int(pctx->rctx->cdb, CONFDB_PAM_CONF_ENTRY,
1197 ret = confdb_get_string(pctx
1174 check_cert(TALLOC_CTX *mctx, struct tevent_context *ev, struct pam_ctx *pctx, struct pam_auth_req *preq, struct pam_data *pd) argument
1226 struct pam_ctx *pctx = local
1370 struct pam_ctx *pctx = local
1503 struct pam_ctx *pctx = local
1569 struct pam_ctx *pctx = local
1826 struct pam_ctx *pctx = local
1952 struct pam_ctx *pctx = local
[all...]
/sssd/src/responder/sudo/
H A Dsudosrv_cmd.c41 struct cli_protocol *pctx; local
47 pctx = talloc_get_type(cli_ctx->protocol_ctx, struct cli_protocol);
49 ret = sss_packet_new(pctx->creq, 0,
50 sss_packet_get_cmd(pctx->creq->in),
51 &pctx->creq->out);
59 ret = sss_packet_grow(pctx->creq->out, response_len);
65 sss_packet_get_body(pctx->creq->out, &packet_body, &packet_len);
68 sss_packet_set_error(pctx->creq->out, EOK);
178 struct cli_protocol *pctx; local
199 pctx
[all...]
/sssd/src/responder/common/
H A Dresponder_cmd.c30 struct cli_protocol *pctx; local
33 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
34 if (!pctx) return EINVAL;
37 ret = sss_packet_new(pctx->creq, 0,
38 sss_packet_get_cmd(pctx->creq->in),
39 &pctx->creq->out);
45 sss_packet_set_error(pctx->creq->out, err);
71 struct cli_protocol *pctx; local
74 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
75 if (!pctx) retur
107 struct cli_protocol *pctx; local
[all...]
H A Dresponder_common.c253 struct cli_protocol *pctx; local
256 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
258 ret = sss_packet_send(pctx->creq->out, cctx->cfd);
272 talloc_zfree(pctx->creq);
278 struct cli_protocol *pctx; local
281 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
282 cmd = sss_packet_get_cmd(pctx->creq->in);
288 struct cli_protocol *pctx; local
291 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
293 if (!pctx
[all...]
/sssd/src/tests/cmocka/
H A Dtest_responder_common.c283 struct parse_inp_test_ctx *pctx; member in struct:sss_nc_ctx
289 test_ev_done(dummy_ncache_ptr->pctx->tctx, EOK);
302 dummy_ncache_ptr->pctx = parse_inp_ctx;
H A Dtest_pam_srv.c85 struct pam_ctx *pctx; member in struct:pam_test_ctx
178 struct pam_ctx *pctx; local
181 pctx = talloc_zero(mem_ctx, struct pam_ctx);
182 assert_non_null(pctx);
184 ret = sss_hash_create(pctx, 10, &pctx->id_table);
187 return pctx;
246 pam_test_ctx->pctx = mock_pctx(pam_test_ctx);
247 assert_non_null(pam_test_ctx->pctx);
250 pam_test_ctx->tctx->dom, pam_test_ctx->pctx);
1496 set_cert_auth_param(struct pam_ctx *pctx, const char *dbpath) argument
[all...]
H A Dtest_nss_srv.c122 struct cli_protocol *pctx; local
130 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
131 packet = pctx->creq->out;
/sssd/src/responder/autofs/
H A Dautofssrv_cmd.c243 struct cli_protocol *pctx; local
258 pctx = talloc_get_type(cmdctx->cctx->protocol_ctx, struct cli_protocol);
260 sss_packet_get_body(pctx->creq->in, &body, &blen);
296 struct cli_protocol *pctx; local
312 pctx = talloc_get_type(cmdctx->cctx->protocol_ctx, struct cli_protocol);
315 ret = sss_packet_new(pctx->creq, 0,
316 sss_packet_get_cmd(pctx->creq->in),
317 &pctx->creq->out);
322 sss_cmd_empty_packet(pctx->creq->out);
325 ret = sss_packet_grow(pctx
927 struct cli_protocol *pctx; local
1075 struct cli_protocol *pctx; local
1210 struct cli_protocol *pctx; local
1378 struct cli_protocol *pctx; local
1465 struct cli_protocol *pctx; local
[all...]
/sssd/src/responder/ssh/
H A Dsshsrv_cmd.c686 struct cli_protocol *pctx; local
701 pctx = talloc_get_type(cmd_ctx->cctx->protocol_ctx, struct cli_protocol);
703 sss_packet_get_body(pctx->creq->in, &body, &body_len);
907 struct cli_protocol *pctx; local
927 pctx = talloc_get_type(cmd_ctx->cctx->protocol_ctx, struct cli_protocol);
943 ret = sss_packet_grow(pctx->creq->out,
949 sss_packet_get_body(pctx->creq->out, &body, &body_len);
985 struct cli_protocol *pctx; local
988 pctx = talloc_get_type(cmd_ctx->cctx->protocol_ctx, struct cli_protocol);
990 ret = sss_packet_new(pctx
1125 struct cli_protocol *pctx; local
[all...]
/sssd/src/responder/secrets/
H A Dproxy.c59 static int proxy_get_config_string(struct proxy_context *pctx, argument
66 ret = confdb_get_string(pctx->cdb, ctx,
72 static int proxy_sec_get_cfg(struct proxy_context *pctx, argument
85 ret = proxy_get_config_string(pctx, cfg, true, secreq,
90 ret = proxy_get_config_string(pctx, cfg, false, secreq,
98 ret = proxy_get_config_string(pctx, cfg, true, secreq, "username",
104 ret = proxy_get_config_string(pctx, cfg, true, secreq, "password",
109 ret = proxy_get_config_string(pctx, cfg, true, secreq,
116 ret = proxy_get_config_string(pctx, cfg, true, secreq,
127 ret = confdb_get_string_as_list(pctx
360 proxy_http_req_send(struct proxy_context *pctx, TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sec_req_ctx *secreq, const char *http_uri, struct sec_data *http_req) argument
914 struct proxy_context *pctx; local
1024 struct proxy_context *pctx; local
[all...]

Completed in 1124 milliseconds