summaryrefslogtreecommitdiff
path: root/src/providers/ipa/ipa_access.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-09 16:39:42 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-21 22:17:33 +0100
commit24b715f096613d18f182cf0fff537e1fc79647fa (patch)
tree69559d58896dcfa37aabffd6683038781ba657a8 /src/providers/ipa/ipa_access.h
parentdf0596ec12bc5091608371e2977f3111241e8caf (diff)
downloadsssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.gz
sssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.bz2
sssd-24b715f096613d18f182cf0fff537e1fc79647fa.zip
Remove sysdb as a be request structure member
The sysdb context is already available through the 'domain' context.
Diffstat (limited to 'src/providers/ipa/ipa_access.h')
-rw-r--r--src/providers/ipa/ipa_access.h2
1 files changed, 1 insertions, 1 deletions
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 */