summaryrefslogtreecommitdiff
path: root/src/responder
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-12-07 14:03:08 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-12-07 08:41:40 -0500
commitb1cf223317bb44da162bcfb153064281cdcbb56b (patch)
treee274758bedc9edd4423d9cc9f526774244395694 /src/responder
parentd22a6b9feb74bd630ab25dd6c32da6ae88b4fc33 (diff)
downloadsssd-b1cf223317bb44da162bcfb153064281cdcbb56b.tar.gz
sssd-b1cf223317bb44da162bcfb153064281cdcbb56b.tar.bz2
sssd-b1cf223317bb44da162bcfb153064281cdcbb56b.zip
Pass the correct private data into Data Provider callback
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/nss/nsssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 8e40bd2e..720813fd 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -672,7 +672,7 @@ errno_t check_cache(struct nss_dom_ctx *dctx,
goto error;
}
cb_ctx->callback = callback;
- cb_ctx->ptr = dctx;
+ cb_ctx->ptr = pvt;
cb_ctx->cctx = dctx->cmdctx->cctx;
cb_ctx->mem_ctx = dctx;