summaryrefslogtreecommitdiff
path: root/src/providers/krb5/krb5_auth.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-09 16:23:25 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-21 22:17:33 +0100
commitdf0596ec12bc5091608371e2977f3111241e8caf (patch)
treee659ecee1bb913e4648a4313ffab1d0c1794da19 /src/providers/krb5/krb5_auth.c
parent7a468783159880f81f7cd9270ee94bf0954d6a56 (diff)
downloadsssd-df0596ec12bc5091608371e2977f3111241e8caf.tar.gz
sssd-df0596ec12bc5091608371e2977f3111241e8caf.tar.bz2
sssd-df0596ec12bc5091608371e2977f3111241e8caf.zip
Remove sysdb as a be context structure member
The sysdb context is already available through the 'domain' structure.
Diffstat (limited to 'src/providers/krb5/krb5_auth.c')
-rw-r--r--src/providers/krb5/krb5_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index 2271df0d..0d9fe793 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -771,7 +771,7 @@ static void krb5_auth_resolve_done(struct tevent_req *subreq)
if (dp_opt_get_bool(kr->krb5_ctx->opts,
KRB5_STORE_PASSWORD_IF_OFFLINE)) {
krb5_auth_cache_creds(state->kr->krb5_ctx,
- state->be_ctx->sysdb,
+ state->be_ctx->domain->sysdb,
state->be_ctx->domain,
state->be_ctx->cdb,
kr->pd, kr->uid,
@@ -1081,7 +1081,7 @@ static void krb5_auth_done(struct tevent_req *subreq)
if (dp_opt_get_bool(kr->krb5_ctx->opts,
KRB5_STORE_PASSWORD_IF_OFFLINE)) {
krb5_auth_cache_creds(state->kr->krb5_ctx,
- state->be_ctx->sysdb,
+ state->be_ctx->domain->sysdb,
state->be_ctx->domain,
state->be_ctx->cdb,
state->pd, state->kr->uid,