diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-09 16:39:42 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-21 22:17:33 +0100 |
commit | 24b715f096613d18f182cf0fff537e1fc79647fa (patch) | |
tree | 69559d58896dcfa37aabffd6683038781ba657a8 /src/providers/ipa/ipa_access.h | |
parent | df0596ec12bc5091608371e2977f3111241e8caf (diff) | |
download | sssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.gz sssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.xz 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h index 0a13d7bea..6d36ea619 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 */ |