summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2015-01-22 17:03:00 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-01-23 13:16:53 +0100
commitdd5ebcde05442422f39084acb49b28cf47002d1e (patch)
tree6f9127ff3c2f5d2d4a5c5bb2d8b596acbaa60cc1 /src/util/util.h
parentba818cc39dfe94c2b8613f4badf7912811f0f737 (diff)
downloadsssd-dd5ebcde05442422f39084acb49b28cf47002d1e.tar.gz
sssd-dd5ebcde05442422f39084acb49b28cf47002d1e.tar.xz
sssd-dd5ebcde05442422f39084acb49b28cf47002d1e.zip
IPA: properly handle mixed-case trusted domains
In the SSSD cache domain names are handled case-sensitive. As a result fully-qualified names in RDN contain the domain part in the original spelling. When IPA client lookup up group-memberships on the IPA server via the extdom plugin the names returned are all lower case. To make sure new DNs are generated correctly the domain part must adjusted. Related to https://fedorahosted.org/sssd/ticket/2159 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 60dbf9381..4ee9bad11 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -601,6 +601,9 @@ errno_t get_dom_names(TALLOC_CTX *mem_ctx,
char ***_dom_names,
int *_dom_names_count);
+errno_t fix_domain_in_name_list(TALLOC_CTX *mem_ctx,
+ struct sss_domain_info *dom,
+ char **in, char ***_out);
/* from util_lock.c */
errno_t sss_br_lock_file(int fd, size_t start, size_t len,
int num_tries, useconds_t wait);