URL:
https://github.com/SSSD/sssd/pull/43
Title: #43: RESPONDER: Enable sudoRule in case insen. domains​ (1.15)
jhrozek commented:
"""
On Fri, Nov 04, 2016 at 12:06:08AM -0700, celestian wrote:
I found function:
```
char *
sss_get_cased_name(TALLOC_CTX *mem_ctx,
const char *orig_name,
bool case_sensitive)
```
in ```src/tool/usertools.c``` during backreporting to 1.13. If it is our prefered way how
to lowered usernames, I should use it.
This function can be used in cases where you want to use only the
original case or only the lowercase. Do we want to store both cases or
only the domain-case here in the cache? I think for now and also because
downstream is pressing to apply a patch we can use the existing PR and
then you can open a ticket for yourself to refactor the code further to
only use the lower case.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/43#issuecomment-258395624