X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source3%2Fwinbindd%2Fwinbindd_util.c;h=f4e2f5668a1d0d92aca3a1a5ff5a26e1badb613c;hb=38444389c39d5c5adca1c9f300bded47407fd0b5;hp=15a357519a2930db6fee1508b7c54d5ba78fef3b;hpb=51c5f84d2496b5117a2fe6afc061594cf33b5fc1;p=samba.git diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 15a357519a2..f4e2f5668a1 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -1166,12 +1166,18 @@ NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain, return NT_STATUS_UNSUCCESSFUL; } - /* Skip Domain local groups outside our domain. - We'll get these from the getsidaliases() RPC call. */ + /* + * Before bug #7843 the "Domain Local" groups were added with a + * lookupuseraliases call, but this isn't done anymore for our domain + * so we need to resolve resource groups here. + * + * When to use Resource Groups: + * http://technet.microsoft.com/en-us/library/cc753670%28v=WS.10%29.aspx + */ status = sid_array_from_info3(mem_ctx, info3, user_sids, &num_groups, - false, true); + false); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(info3);