s3:winbind:grent: don't stop when querying one domain fails.
authorMichael Adam <obnox@samba.org>
Sun, 25 Jan 2015 11:16:50 +0000 (12:16 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 16 Mar 2015 19:26:51 +0000 (20:26 +0100)
Just continue with the next domain.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/winbindd/wb_next_grent.c

index db6f924f2aa52188ba351b6afb0e78be5bc90811..fd925b609e5773fcca2b6b2d380944219eaad43a 100644 (file)
@@ -108,8 +108,7 @@ static void wb_next_grent_fetch_done(struct tevent_req *subreq)
                /* Ignore errors here, just log it */
                DEBUG(10, ("query_group_list for domain %s returned %s\n",
                           state->gstate->domain->name, nt_errstr(status)));
-               tevent_req_nterror(req, status);
-               return;
+               state->gstate->num_groups = 0;
        }
 
        state->gstate->next_group = 0;