diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-03-14 06:02:17 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-24 09:19:43 -0400 |
commit | 84c5d214242c3846a1b4c8f80e1935e77fe1c5c7 (patch) | |
tree | ce85acac3ed2e2a6fa36f90bc7dc703da7ee2afa | |
parent | 55d21766613d11646da3e2e7df69ca02c03ee053 (diff) | |
download | sssd-84c5d214242c3846a1b4c8f80e1935e77fe1c5c7.tar.gz sssd-84c5d214242c3846a1b4c8f80e1935e77fe1c5c7.tar.bz2 sssd-84c5d214242c3846a1b4c8f80e1935e77fe1c5c7.zip |
Utilize sysdb context within be_req in HBAC
-rw-r--r-- | src/providers/ipa/ipa_access.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h index 35a8b3e7..6cd42549 100644 --- a/src/providers/ipa/ipa_access.h +++ b/src/providers/ipa/ipa_access.h @@ -85,8 +85,8 @@ static inline struct be_ctx *hbac_ctx_be(struct hbac_ctx *hbac_ctx) /* Get sysdb associated with HBAC context */ static inline struct sysdb_ctx *hbac_ctx_sysdb(struct hbac_ctx *hbac_ctx) { - struct be_ctx *be_ctx = hbac_ctx_be(hbac_ctx); - return be_ctx != NULL ? be_ctx->sysdb : NULL; + struct be_req *be_req = hbac_ctx->be_req; + return be_req != NULL ? be_req->sysdb : NULL; } /* Get tevent context associated with HBAC context */ |