summaryrefslogtreecommitdiffstats
path: root/src/providers/proxy/proxy_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/proxy/proxy_auth.c')
-rw-r--r--src/providers/proxy/proxy_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/proxy/proxy_auth.c b/src/providers/proxy/proxy_auth.c
index 2eacfa4e..3e6a514a 100644
--- a/src/providers/proxy/proxy_auth.c
+++ b/src/providers/proxy/proxy_auth.c
@@ -41,7 +41,7 @@ void proxy_pam_handler(struct be_req *req)
struct tevent_req *child_req = NULL;
struct proxy_client_ctx *client_ctx;
- pd = talloc_get_type(req->req_data, struct pam_data);
+ pd = talloc_get_type(be_req_get_data(req), struct pam_data);
switch (pd->cmd) {
case SSS_PAM_AUTHENTICATE:
@@ -138,7 +138,7 @@ static struct tevent_req *proxy_child_send(TALLOC_CTX *mem_ctx,
state->be_req = be_req;
state->auth_ctx = auth_ctx;
- state->pd = talloc_get_type(be_req->req_data, struct pam_data);
+ state->pd = talloc_get_type(be_req_get_data(be_req), struct pam_data);
/* Find an available key */
key.type = HASH_KEY_ULONG;