From df0596ec12bc5091608371e2977f3111241e8caf Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 9 Jan 2013 16:23:25 -0500 Subject: Remove sysdb as a be context structure member The sysdb context is already available through the 'domain' structure. --- src/providers/ldap/ldap_id_enum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/providers/ldap/ldap_id_enum.c') diff --git a/src/providers/ldap/ldap_id_enum.c b/src/providers/ldap/ldap_id_enum.c index ecd1a6e7..6c5a378e 100644 --- a/src/providers/ldap/ldap_id_enum.c +++ b/src/providers/ldap/ldap_id_enum.c @@ -145,7 +145,7 @@ static void ldap_id_enumerate_reschedule(struct tevent_req *req) * process on the next SSSD service restart (to avoid * slowing down system boot-up */ - ret = sysdb_set_enumerated(ctx->be->sysdb, ctx->be->domain, true); + ret = sysdb_set_enumerated(ctx->be->domain->sysdb, ctx->be->domain, true); if (ret != EOK) { DEBUG(1, ("Could not mark domain as having enumerated.\n")); /* This error is non-fatal, so continue */ @@ -565,7 +565,7 @@ static struct tevent_req *enum_users_send(TALLOC_CTX *memctx, subreq = sdap_get_users_send(state, state->ev, state->ctx->be->domain, - state->ctx->be->sysdb, + state->ctx->be->domain->sysdb, state->ctx->opts, state->ctx->opts->user_search_bases, sdap_id_op_handle(state->op), @@ -724,7 +724,7 @@ static struct tevent_req *enum_groups_send(TALLOC_CTX *memctx, subreq = sdap_get_groups_send(state, state->ev, state->ctx->be->domain, - state->ctx->be->sysdb, + state->ctx->be->domain->sysdb, state->ctx->opts, state->ctx->opts->group_search_bases, sdap_id_op_handle(state->op), -- cgit