s3:winbind:grent: don't stop group enumeration when a group has no gid
commitc9a9483aed2056be37f827989ab0fa74970c9fb1
authorMichael Adam <obnox@samba.org>
Mon, 19 Jan 2015 12:51:55 +0000 (19 13:51 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Mar 2015 22:11:15 +0000 (27 23:11 +0100)
tree7791ee52579e43acae8b92c147dce35acfc63930
parentf5e3b9440805e548a8b41fa76f98a366f7426047
s3:winbind:grent: don't stop group enumeration when a group has no gid

simply continue with the next group

Note: this patch introduces some code duplication to make it
easier to create minimal backport patch. Subsequent patches
will provide some refactoring to reduce the duplication.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=8905

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 24015224da1f363019d9d2da81ce533463a16abb)
source3/winbindd/wb_next_grent.c