Blame SOURCES/0090-IPA-Don-t-fail-if-apply_subdomain_homedir-returns-EN.patch
|
|
2fc102 |
From da729f6765e11fec980fbb9ec1291e2a7ef533fe Mon Sep 17 00:00:00 2001
|
|
|
2fc102 |
From: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
2fc102 |
Date: Wed, 19 Feb 2014 15:34:34 +0100
|
|
|
2fc102 |
Subject: [PATCH 90/90] IPA: Don't fail if apply_subdomain_homedir returns
|
|
|
2fc102 |
ENOENT
|
|
|
2fc102 |
|
|
|
2fc102 |
Reviewed-by: Pavel Reichl <preichl@redhat.com>
|
|
|
2fc102 |
(cherry picked from commit 26786da26706aeedbda4caea0383c143ed4e59dc)
|
|
|
2fc102 |
---
|
|
|
2fc102 |
src/providers/ipa/ipa_subdomains_id.c | 2 +-
|
|
|
2fc102 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
2fc102 |
|
|
|
2fc102 |
diff --git a/src/providers/ipa/ipa_subdomains_id.c b/src/providers/ipa/ipa_subdomains_id.c
|
|
|
2fc102 |
index c15bdaa703835ab07a9b3b21d1304220a01eac10..637dd61f9f272eb4ac4ecb8368d2210801bb0373 100644
|
|
|
2fc102 |
--- a/src/providers/ipa/ipa_subdomains_id.c
|
|
|
2fc102 |
+++ b/src/providers/ipa/ipa_subdomains_id.c
|
|
|
2fc102 |
@@ -550,7 +550,7 @@ ipa_get_ad_acct_ad_part_done(struct tevent_req *subreq)
|
|
|
2fc102 |
ret = apply_subdomain_homedir(state, state->user_dom,
|
|
|
2fc102 |
state->ar->filter_type,
|
|
|
2fc102 |
state->ar->filter_value);
|
|
|
2fc102 |
- if (ret != EOK) {
|
|
|
2fc102 |
+ if (ret != EOK && ret != ENOENT) {
|
|
|
2fc102 |
DEBUG(SSSDBG_OP_FAILURE,
|
|
|
2fc102 |
("apply_subdomain_homedir failed: [%d]: [%s].\n",
|
|
|
2fc102 |
ret, sss_strerror(ret)));
|
|
|
2fc102 |
--
|
|
|
2fc102 |
1.8.5.3
|
|
|
2fc102 |
|