URL:
https://github.com/SSSD/sssd/pull/464
Title: #464: SYSDB: Properly handle name/gid override when using domain resolution order
sumit-bose commented:
"""
@fidencio, yes, I think the approach is valid.
About the patch, I would set
fmt_filter = SYSDB_GRNAM_FILTER;
base_dn = sysdb_group_base_dn(tmp_ctx, domain);
before 'if (domain->mpg)' and only set it in the if block to the mpg related
values is all conditions are met.
The check 'if (base_dn == NULL)' should be done after the 'if
(domain->mpg)' block to cover all assignments.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/464#issuecomment-382037410