URL:
https://github.com/SSSD/sssd/pull/487
Author: jhrozek
Title: #487: SYSDB: Fix sysdb_search_by_name() for looking up groups in MPG domains
Action: opened
PR body:
"""
If a group was being looked by using sysdb_search_by_name() in a MPG
domain, the code would search only for group objects -- but in a MPG
domain, there may be none, the groups are typically inferred from a user
object.
This could have caused issues e.g. for IPA code with the following
sequence:
getent group aduser(a)windows.domain
getent passwd aduser(a)windows.domain
The former would fail to add the fallback subdomain homedir and the latter
would then return a user entry without a homedir, with libc falling back to
the "/" homedir.
NOTE: The patch has no unit test. I'll add one when the approach is
confirmed as correct by another developer.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/487/head:pr487
git checkout pr487