Blob Blame History Raw
From 380c18bfccd25961cf56c9f61b1ac8641a2022b1 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek@redhat.com>
Date: Thu, 16 Jan 2014 20:49:15 +0100
Subject: [PATCH 55/57] AD: Don't fail the request if ad_account_can_shortcut
 fails

---
 src/providers/ad/ad_id.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c
index 44bfa00986b6c0ebfa65dd7b83dd45eb64b87946..ada47753fb337641df582a5a59affe8124fc2035 100644
--- a/src/providers/ad/ad_id.c
+++ b/src/providers/ad/ad_id.c
@@ -320,7 +320,9 @@ ad_account_info_handler(struct be_req *be_req)
                                   ar->filter_type, ar->filter_value,
                                   ar->domain, &shortcut);
     if (ret != EOK) {
-        goto fail;
+        DEBUG(SSSDBG_TRACE_FUNC,
+              ("Cannot determine the right domain: %s\n", sss_strerror(ret)));
+        shortcut = false;
     }
 
     if (shortcut) {
-- 
1.8.4.2