#3615 Requesting an AD user's private group and then the user itself returns an emty homedir
Closed: Fixed Opened by jhrozek.

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@windows.domain
getent passwd aduser@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.


Metadata Update from @jhrozek:
- Issue assigned to jhrozek

PR: https://github.com/SSSD/sssd/pull/487

Metadata Update from @jhrozek:
- Issue tagged with: PR, bug

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.2

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1534749

Issue linked to Bugzilla: Bug 1534749

master:

  • 6df34be3ee736d7a34e67c49c365077be849031a

sssd-1-14:

  • 00cc9f83f293db51e93c4a4923ec373900a6e724

sssd-1-13:

  • a953620e7a0d30cc79be3e5ece6fe4c75031bfe0

Metadata Update from @lslebodn:
- Issue close_status updated to: Fixed
- Issue set to the milestone: SSSD 1.16.1 (was: SSSD 1.16.2)
- Issue status updated to: Closed (was: Open)

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4636

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata