#3720 SYSDB: Return ENOENT for mpg with local provider
Merged by jhrozek. Opened by lslebodn.
SSSD/ lslebodn/sssd loc_prov_fix  into  master

Download 3720.patch

We need to return ENOENT for local provider if user have
just magic private group. Otherwise we would not be able
to detect such situation in sss_groupshow

/* The search itself */
ret = group_show(tctx, tctx->sysdb,
                 tctx->local, pc_recursive,
                  tctx->octx->name, &root);
/* Also show MPGs */
if (ret == ENOENT) {
    ret = group_show_mpg(tctx, tctx->local,
                         tctx->octx->name, &root);
}

Resolves:
https://pagure.io/SSSD/sssd/issue/3644

rebased onto 570fa6f079157dcae767baa160900694b4256d02

rebased onto 7af89f77b2ba79ba4e6a73a58012e02750adb34f

ACK, thank you for the patch and sorry the review took so long.

Commit b0aa567b fixes this pull-request

Pull-Request has been merged by jhrozek

Commit afe7060f fixes this pull-request

Pull-Request has been merged by jhrozek

Metadata