Blame SOURCES/0055-AD-Don-t-fail-the-request-if-ad_account_can_shortcut.patch
|
|
2fc102 |
From 380c18bfccd25961cf56c9f61b1ac8641a2022b1 Mon Sep 17 00:00:00 2001
|
|
|
2fc102 |
From: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
2fc102 |
Date: Thu, 16 Jan 2014 20:49:15 +0100
|
|
|
2fc102 |
Subject: [PATCH 55/57] AD: Don't fail the request if ad_account_can_shortcut
|
|
|
2fc102 |
fails
|
|
|
2fc102 |
|
|
|
2fc102 |
---
|
|
|
2fc102 |
src/providers/ad/ad_id.c | 4 +++-
|
|
|
2fc102 |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
2fc102 |
|
|
|
2fc102 |
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c
|
|
|
2fc102 |
index 44bfa00986b6c0ebfa65dd7b83dd45eb64b87946..ada47753fb337641df582a5a59affe8124fc2035 100644
|
|
|
2fc102 |
--- a/src/providers/ad/ad_id.c
|
|
|
2fc102 |
+++ b/src/providers/ad/ad_id.c
|
|
|
2fc102 |
@@ -320,7 +320,9 @@ ad_account_info_handler(struct be_req *be_req)
|
|
|
2fc102 |
ar->filter_type, ar->filter_value,
|
|
|
2fc102 |
ar->domain, &shortcut);
|
|
|
2fc102 |
if (ret != EOK) {
|
|
|
2fc102 |
- goto fail;
|
|
|
2fc102 |
+ DEBUG(SSSDBG_TRACE_FUNC,
|
|
|
2fc102 |
+ ("Cannot determine the right domain: %s\n", sss_strerror(ret)));
|
|
|
2fc102 |
+ shortcut = false;
|
|
|
2fc102 |
}
|
|
|
2fc102 |
|
|
|
2fc102 |
if (shortcut) {
|
|
|
2fc102 |
--
|
|
|
2fc102 |
1.8.4.2
|
|
|
2fc102 |
|