From 3fe2e555edd3963d72483600e5d9616873afd00a Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 17 Apr 2015 18:22:10 +0200 Subject: IPA: do not add domain name unconditionally Depending on the server-side configuration the extdom plugin can return short or fully qualified names for IPA objects. The client must handle the names according to its own configuration and not add the domain part of the fully-qualified name unconditionally. Resolves https://fedorahosted.org/sssd/ticket/2647 Reviewed-by: Jakub Hrozek --- src/util/domain_info_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c index a889bd7a..450b8ec5 100644 --- a/src/util/domain_info_utils.c +++ b/src/util/domain_info_utils.c @@ -830,7 +830,7 @@ errno_t fix_domain_in_name_list(TALLOC_CTX *mem_ctx, goto done; } - out[c] = sss_tc_fqname(out, head->names, out_domain, in_name); + out[c] = sss_get_domain_name(out, in_name, out_domain); } if (out[c] == NULL) { -- cgit