From 84c5d214242c3846a1b4c8f80e1935e77fe1c5c7 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Wed, 14 Mar 2012 06:02:17 -0400 Subject: Utilize sysdb context within be_req in HBAC --- src/providers/ipa/ipa_access.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h index 35a8b3e7b..6cd425490 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 */ -- cgit