mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +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;
|
||||
}
|
||||
|
||||
if (r->out.resume_handle) {
|
||||
if (r->out.resume_handle && info.info3.count > 0) {
|
||||
*r->out.resume_handle =
|
||||
info.info3.entries[info.info3.count-1].idx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user