s3:winbindd fix a return code check
authorChristian Ambach <ambi@samba.org>
Wed, 24 Aug 2011 14:21:37 +0000 (16:21 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 3 Feb 2012 19:39:24 +0000 (20:39 +0100)
commit9d5ed16ddac1598918338a432e9effa8ab869300
tree5bcf25daef4096c58f018666665227fc570b2af4
parent693533ba5b91d74925568f719bdee969c6637ba7
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

Fix bug #8406 (winbind might not return groupnames to getgrgid nss calls).
source3/winbindd/winbindd_group.c