summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-08-18 16:15:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:23 -0500
commit6fb06bbc1a94d24333ed47cf7af0534eaca34f44 (patch)
tree09c0443d1efaa323919528430f7cb99e5db6dcc6 /source3/nsswitch
parent1842fde7d10a6faccae1a24ebc67f8452a5a828e (diff)
downloadsamba-6fb06bbc1a94d24333ed47cf7af0534eaca34f44.tar.gz
samba-6fb06bbc1a94d24333ed47cf7af0534eaca34f44.tar.bz2
samba-6fb06bbc1a94d24333ed47cf7af0534eaca34f44.zip
r1887: Fix deadlock loop in winbind's required_membership_sid-verification.
Guenther (This used to be commit a0a6d7d72f2a24c422db255acf6c439a9b0921df)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
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++;