diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-09 16:23:25 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-21 22:17:33 +0100 |
commit | df0596ec12bc5091608371e2977f3111241e8caf (patch) | |
tree | e659ecee1bb913e4648a4313ffab1d0c1794da19 /src/providers/proxy | |
parent | 7a468783159880f81f7cd9270ee94bf0954d6a56 (diff) | |
download | sssd-df0596ec12bc5091608371e2977f3111241e8caf.tar.gz sssd-df0596ec12bc5091608371e2977f3111241e8caf.tar.xz 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/proxy')
-rw-r--r-- | src/providers/proxy/proxy_auth.c | 2 | ||||
-rw-r--r-- | src/providers/proxy/proxy_id.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/proxy/proxy_auth.c b/src/providers/proxy/proxy_auth.c index d4167c1fd..02a95fe6d 100644 --- a/src/providers/proxy/proxy_auth.c +++ b/src/providers/proxy/proxy_auth.c @@ -757,7 +757,7 @@ static void proxy_child_done(struct tevent_req *req) goto done; } - ret = sysdb_cache_password(client_ctx->be_req->be_ctx->sysdb, + ret = sysdb_cache_password(client_ctx->be_req->be_ctx->domain->sysdb, client_ctx->be_req->be_ctx->domain, pd->user, password); diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c index a97dd63ef..33869e5a7 100644 --- a/src/providers/proxy/proxy_id.c +++ b/src/providers/proxy/proxy_id.c @@ -1351,7 +1351,7 @@ void proxy_get_account_info(struct be_req *breq) ar = talloc_get_type(breq->req_data, struct be_acct_req); ctx = talloc_get_type(breq->be_ctx->bet_info[BET_ID].pvt_bet_data, struct proxy_id_ctx); - sysdb = breq->be_ctx->sysdb; + sysdb = breq->be_ctx->domain->sysdb; domain = breq->be_ctx->domain; if (be_is_offline(breq->be_ctx)) { |