diff options
-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 */ |