From 6fb06bbc1a94d24333ed47cf7af0534eaca34f44 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 18 Aug 2004 16:15:21 +0000 Subject: r1887: Fix deadlock loop in winbind's required_membership_sid-verification. Guenther (This used to be commit a0a6d7d72f2a24c422db255acf6c439a9b0921df) --- source3/nsswitch/winbindd_pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index 81d4e69ccd..03947de875 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -123,7 +123,7 @@ static NTSTATUS check_info3_in_group(TALLOC_CTX *mem_ctx, http://www.microsoft.com/windows2000/techinfo/administration/security/sidfilter.asp */ - for (i = 0; i < info3->num_other_sids; j++) { + for (i = 0; i < info3->num_other_sids; i++) { sid_copy(&all_sids[info3->num_groups2 + i + 2], &info3->other_sids[j].sid); j++; -- cgit