s3:winbindd fix a return code check
commitfac75f04a8577fd0eb5a3fff9914e4abffa91a1e
authorChristian Ambach <ambi@samba.org>
Wed, 24 Aug 2011 14:21:37 +0000 (24 16:21 +0200)
committerChristian Ambach <ambi@samba.org>
Wed, 24 Aug 2011 16:09:11 +0000 (24 18:09 +0200)
treef1c3c613eb5100b56c826f335584c88f9dc59a1c
parent6d2f65ba7fe87b45880b80e66407e7a4e49f35a3
s3:winbindd fix a return code check

talloc_traverse_dict will return with -1 in case of an error and
might return positive values that indicate the count of found
entries

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Wed Aug 24 18:09:11 CEST 2011 on sn-devel-104
source3/winbindd/winbindd_group.c