summaryrefslogtreecommitdiffstats
path: root/server/responder/pam
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-08-13 15:43:17 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-08-14 08:02:17 -0400
commitc1567c42389e296a2b8bdb61694a8ac906b9982b (patch)
tree70303343516aca6f0a91e980f8089d37e83b3d2f /server/responder/pam
parent01c7e801761cff3c58f3de7dd4e08c99da99d7aa (diff)
downloadsssd-c1567c42389e296a2b8bdb61694a8ac906b9982b.tar.gz
sssd-c1567c42389e296a2b8bdb61694a8ac906b9982b.tar.xz
sssd-c1567c42389e296a2b8bdb61694a8ac906b9982b.zip
Refactor responder_dp.c
Many of the functions in responder_dp.c were originally NSS- specific and were moved there from the NSS responder code. Since they are now generic to any responder, rename them to sss_dp_*
Diffstat (limited to 'server/responder/pam')
-rw-r--r--server/responder/pam/pamsrv_cmd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c
index 9b02146c9..39d71bb40 100644
--- a/server/responder/pam/pamsrv_cmd.c
+++ b/server/responder/pam/pamsrv_cmd.c
@@ -478,9 +478,9 @@ static int pam_forwarder(struct cli_ctx *cctx, int pam_cmd)
preq->check_provider = false;
timeout = SSS_CLI_SOCKET_TIMEOUT/2;
- ret = nss_dp_send_acct_req(preq->cctx->rctx, preq,
+ ret = sss_dp_send_acct_req(preq->cctx->rctx, preq,
pam_check_user_dp_callback, preq,
- timeout, preq->domain->name, NSS_DP_USER,
+ timeout, preq->domain->name, SSS_DP_USER,
preq->pd->user, 0);
}
else {
@@ -595,9 +595,9 @@ static void pam_check_user_callback(void *ptr, int status,
preq->data = talloc_steal(preq, res);
}
- ret = nss_dp_send_acct_req(preq->cctx->rctx, preq,
+ ret = sss_dp_send_acct_req(preq->cctx->rctx, preq,
pam_check_user_dp_callback, preq,
- timeout, preq->domain->name, NSS_DP_USER,
+ timeout, preq->domain->name, SSS_DP_USER,
preq->pd->user, 0);
if (ret != EOK) {
DEBUG(3, ("Failed to dispatch request: %d(%s)\n",
@@ -663,11 +663,11 @@ static void pam_check_user_callback(void *ptr, int status,
/* no need to re-check later on */
preq->check_provider = false;
- ret = nss_dp_send_acct_req(preq->cctx->rctx, preq,
+ ret = sss_dp_send_acct_req(preq->cctx->rctx, preq,
pam_check_user_dp_callback,
preq, timeout,
preq->domain->name,
- NSS_DP_USER,
+ SSS_DP_USER,
preq->pd->user, 0);
}
else {