diff options
Diffstat (limited to 'source3/winbindd/winbindd_getgrgid.c')
-rw-r--r-- | source3/winbindd/winbindd_getgrgid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_getgrgid.c b/source3/winbindd/winbindd_getgrgid.c index 4feebdb4f6..80db309060 100644 --- a/source3/winbindd/winbindd_getgrgid.c +++ b/source3/winbindd/winbindd_getgrgid.c @@ -122,6 +122,9 @@ NTSTATUS winbindd_getgrgid_recv(struct tevent_req *req, status = winbindd_print_groupmembers(state->members, response, &num_members, &buf); + if (!NT_STATUS_IS_OK(status)) { + return status; + } response->data.gr.num_gr_mem = (uint32)num_members; |