1
0
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:
Andrew Bartlett 2004-01-02 05:33:14 +00:00
parent b4593e92ff
commit ffedf5a1aa

View File

@ -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