From 24b715f096613d18f182cf0fff537e1fc79647fa Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 9 Jan 2013 16:39:42 -0500 Subject: Remove sysdb as a be request structure member The sysdb context is already available through the 'domain' context. --- src/providers/ipa/ipa_access.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/ipa/ipa_access.h') diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h index 0a13d7be..6d36ea61 100644 --- a/src/providers/ipa/ipa_access.h +++ b/src/providers/ipa/ipa_access.h @@ -86,7 +86,7 @@ static inline struct be_ctx *hbac_ctx_be(struct hbac_ctx *hbac_ctx) static inline struct sysdb_ctx *hbac_ctx_sysdb(struct hbac_ctx *hbac_ctx) { struct be_req *be_req = hbac_ctx->be_req; - return be_req != NULL ? be_req->sysdb : NULL; + return be_req != NULL ? be_req->domain->sysdb : NULL; } /* Get tevent context associated with HBAC context */ -- cgit