From bfba0655bc129ebcffc20b1204e0f87549e0a74e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 15 Jan 2013 22:03:08 -0500 Subject: Parent and subdomains use the same sysdb Remove code that tries to get the 'right' sysdb, as it is always going to get the same answer anyway since the recent patches to rework the domains/sysdb relationship. --- src/responder/pac/pacsrv_utils.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/responder/pac/pacsrv_utils.c') diff --git a/src/responder/pac/pacsrv_utils.c b/src/responder/pac/pacsrv_utils.c index 2708e5a2..824daa62 100644 --- a/src/responder/pac/pacsrv_utils.c +++ b/src/responder/pac/pacsrv_utils.c @@ -255,11 +255,7 @@ errno_t get_my_domain_data(struct pac_ctx *pac_ctx, size_t c; if (pac_ctx->my_dom_sid == NULL || pac_ctx->range_map == NULL) { - if (dom->parent != NULL) { - sysdb = dom->parent->sysdb; - } else { - sysdb = dom->sysdb; - } + sysdb = dom->sysdb; if (sysdb == NULL) { DEBUG(SSSDBG_FATAL_FAILURE, ("Missing sysdb context.\n")); -- cgit