summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-10-23 12:56:30 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-10-23 12:56:30 +1100
commit596089ec06b0a2b2ec3e0e5bd6d46c2e767bd954 (patch)
tree06371bc9dcf7a876ed88575b6621889b4a6e6120 /source3/lib
parente79835b096c716124ac5d6e78610e5a76172e649 (diff)
parent2f1dbddc3f5433b5b5c542cd3c8fa3050499d8e9 (diff)
downloadsamba-596089ec06b0a2b2ec3e0e5bd6d46c2e767bd954.tar.gz
samba-596089ec06b0a2b2ec3e0e5bd6d46c2e767bd954.tar.bz2
samba-596089ec06b0a2b2ec3e0e5bd6d46c2e767bd954.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c
index 8dba4b8838..95c012a7f6 100644
--- a/source3/lib/netapi/group.c
+++ b/source3/lib/netapi/group.c
@@ -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;
}