r23730: Squashed commit of the following:
authorGerald Carter <jerry@samba.org>
Thu, 5 Jul 2007 19:55:40 +0000 (19:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:49 +0000 (12:23 -0500)
commita6706eee9b0ac1ee8c55f1e7c0f43bc0f50ae4b9
treec3421ae15020c408126f93e755067528cedf1c6f
parent35d09869edf09b2af394a3eea1ee7b9ef1ba696b
r23730: Squashed commit of the following:

commit 3941269fa01038fca242a197e8d7c1f234d45ea7
Author: Gerald (Jerry) Carter <jerry@samba.org>
Date:   Thu Jul 5 14:52:03 2007 -0500

    Two fixes for "winbind expand groups".

    (a) Update the counter for the number of new groups to resolve else
        we'll only expand one group member per level and drop the rest.
    (b) Don't reset the num_names counter in winbindd_ads.c:lookup_groupmem()
        or we'll drop the SIDs resolved to names via cache from the resulting
        list.
(This used to be commit dfb89dfcaa02f497ff22ac0213b70add6e4d5b8f)
source3/nsswitch/winbindd_ads.c
source3/nsswitch/winbindd_group.c