AD: Inherit the MPG setting from the main domain
If the auto_private_groups option was set in the domain section for
direct integration, it only had an effect on the joined domain, not any
of the subdomains, so requesting a user from the child domain would look
like this:
$ id childuser@child.win.trust.test
uid=30000(childuser@child.win.trust.test) gid=40000(usergroup@child.win.trust.test) groups=40000(usergroup@child.win.trust.test)
The expected result, visible after this patch is:
$ id childuser@child.win.trust.test
uid=30000(childuser@child.win.trust.test) gid=30000(childuser@child.win.trust.test) groups=30000(childuser@child.win.trust.test),40000(usergroup@child.win.trust.test)
Resolves:
https://pagure.io/SSSD/sssd/issue/3613
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>