mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
netapi: NetGroupEnum_r needs to handle servers with no groups.
Guenther
This commit is contained in:
parent
74a9a391aa
commit
c017909e2e
@ -1243,7 +1243,7 @@ WERROR NetGroupEnum_r(struct libnetapi_ctx *ctx,
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (r->out.resume_handle) {
|
if (r->out.resume_handle && info.info3.count > 0) {
|
||||||
*r->out.resume_handle =
|
*r->out.resume_handle =
|
||||||
info.info3.entries[info.info3.count-1].idx;
|
info.info3.entries[info.info3.count-1].idx;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user