Title: #246: filter_users and filter_groups stop working properly in v 1.15
One thing that is not exactly clear to me (and I may need your
guidance) is ... just getting the name from the DB is not enough to the the
fully-qualified name that we added to the negative cache? Do I really have to get the
cased name and replace the space?
I'm not sure from the top of my head. Please, see what's stored in the negative
cache, when you use overriden names, names with replaced space and qualified names in
filter_users and filter_groups.
From a quick look into the code, I can see that we parse qualified names into shortname
and domain. We also store the entries in internal fqname format. We don't use
reverse_replace_space here. An overriden name is stored into ncache. I think you are fine
with this code. But please test it. See: `sss_ncache_prepopulate`.
See the full comment at https://github.com/SSSD/sssd/pull/246#issuecomment-297692941