mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
patch for domain groups with no members (rpc only) from Ken Cross
(This used to be commit 05ec9c40f4
)
This commit is contained in:
parent
9b9f1697ee
commit
531caf6b5d
@ -629,7 +629,7 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
|
|||||||
(*sid_mem)[j] = rid_to_talloced_sid(domain, mem_ctx, (rid_mem)[j]);
|
(*sid_mem)[j] = rid_to_talloced_sid(domain, mem_ctx, (rid_mem)[j]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!*names || !*name_types) {
|
if (*num_names>0 && (!*names || !*name_types)) {
|
||||||
result = NT_STATUS_NO_MEMORY;
|
result = NT_STATUS_NO_MEMORY;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user