mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Having no members of a group is a perfectly valid (if unusual) situation.
Andrew Bartlett
(This used to be commit 3f6d0cd3a8
)
This commit is contained in:
parent
b4593e92ff
commit
ffedf5a1aa
@ -632,6 +632,13 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
|
||||
if (!NT_STATUS_IS_OK(result))
|
||||
goto done;
|
||||
|
||||
if (!*num_names) {
|
||||
names = NULL;
|
||||
name_types = NULL;
|
||||
sid_mem = NULL;
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* Step #2: Convert list of rids into list of usernames. Do this
|
||||
in bunches of ~1000 to avoid crashing NT4. It looks like there
|
||||
is a buffer overflow or something like that lurking around
|
||||
|
Loading…
Reference in New Issue
Block a user