mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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]);
|
||||
}
|
||||
|
||||
if (!*names || !*name_types) {
|
||||
if (*num_names>0 && (!*names || !*name_types)) {
|
||||
result = NT_STATUS_NO_MEMORY;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user