Lines Matching defs:cctx
30 static errno_t pac_cmd_done(struct cli_ctx *cctx, int cmd_ret)
40 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
52 sss_cmd_done(cctx, NULL);
58 struct cli_ctx *cctx;
76 static errno_t pac_add_pac_user(struct cli_ctx *cctx)
86 pctx = talloc_get_type(cctx->protocol_ctx, struct cli_protocol);
90 pr_ctx = talloc_zero(cctx, struct pac_req_ctx);
96 pr_ctx->cctx = cctx;
100 pr_ctx->pac_ctx = talloc_get_type(cctx->rctx->pvt_ctx, struct pac_ctx);
140 ret = responder_get_domain_by_id(cctx->rctx, pr_ctx->user_dom_sid_str,
143 req = sss_dp_get_domains_send(cctx->rctx, cctx->rctx, true,
163 return pac_cmd_done(cctx, ret);
170 struct cli_ctx *cctx = pr_ctx->cctx;
179 ret = responder_get_domain_by_id(cctx->rctx, pr_ctx->user_dom_sid_str,
194 pac_cmd_done(cctx, ret);
204 req = cache_req_object_by_sid_send(pr_ctx, pr_ctx->cctx->ev,
205 pr_ctx->cctx->rctx,
227 struct cli_ctx *cctx = pr_ctx->cctx;
238 pac_cmd_done(cctx, ret);
280 pac_cmd_done(cctx, ret);