summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-03-27 16:57:23 -0400
committerSimo Sorce <ssorce@redhat.com>2009-03-27 16:57:46 -0400
commit6bff6d3029cee71a5ef7cab512f0888989f1dcc7 (patch)
treeaa28eead7bde2e542eafc3e57bd130d8dcbcc677
parenta06644dfe4f680d6b14f7e654aad4982ea10a6cc (diff)
downloadsssd-6bff6d3029cee71a5ef7cab512f0888989f1dcc7.tar.gz
sssd-6bff6d3029cee71a5ef7cab512f0888989f1dcc7.tar.bz2
sssd-6bff6d3029cee71a5ef7cab512f0888989f1dcc7.zip
Fix copy&paste error
-rw-r--r--server/responder/pam/pamsrv_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/responder/pam/pamsrv_dp.c b/server/responder/pam/pamsrv_dp.c
index 5eaf7d14..3555c20e 100644
--- a/server/responder/pam/pamsrv_dp.c
+++ b/server/responder/pam/pamsrv_dp.c
@@ -120,7 +120,7 @@ int pam_dp_send_req(struct cli_ctx *cctx,
* in some pathological cases it may happen that nss starts up before
* dp connection code is actually able to establish a connection.
*/
- if (!rctx->dp_ctx) {
+ if (!cctx->rctx->dp_ctx) {
DEBUG(1, ("The Data Provider connection is not available yet!"
" This maybe a bug, it shouldn't happen!\n"));
return EIO;