diff options
-rw-r--r-- | src/responder/common/responder_common.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index e44c351a..438ca2ce 100644 --- a/src/responder/common/responder_common.c +++ b/src/responder/common/responder_common.c @@ -791,12 +791,6 @@ int sss_process_init(TALLOC_CTX *mem_ctx, } for (dom = rctx->domains; dom; dom = dom->next) { - - /* skip local domain, it doesn't have a backend */ - if (strcasecmp(dom->provider, "local") == 0) { - continue; - } - ret = sss_names_init(rctx->cdb, rctx->cdb, dom->name, &dom->names); if (ret != EOK) { DEBUG(SSSDBG_FATAL_FAILURE, @@ -805,6 +799,11 @@ int sss_process_init(TALLOC_CTX *mem_ctx, return ret; } + /* skip local domain, it doesn't have a backend */ + if (strcasecmp(dom->provider, "local") == 0) { + continue; + } + ret = sss_dp_init(rctx, dp_intf, cli_name, dom); if (ret != EOK) { DEBUG(0, ("fatal error setting up backend connector\n")); |