summaryrefslogtreecommitdiffstats
path: root/src/responder/pac
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-15 22:03:08 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-02-10 22:08:47 +0100
commitbfba0655bc129ebcffc20b1204e0f87549e0a74e (patch)
tree794d66607b465dc1e41a465968f848033ac6359d /src/responder/pac
parentbba1a5fd62cffcae076d1351df5a83fbc4a6ec17 (diff)
downloadsssd-bfba0655bc129ebcffc20b1204e0f87549e0a74e.tar.gz
sssd-bfba0655bc129ebcffc20b1204e0f87549e0a74e.tar.xz
sssd-bfba0655bc129ebcffc20b1204e0f87549e0a74e.zip
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.
Diffstat (limited to 'src/responder/pac')
-rw-r--r--src/responder/pac/pacsrv_utils.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/responder/pac/pacsrv_utils.c b/src/responder/pac/pacsrv_utils.c
index 2708e5a2e..824daa625 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"));