[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3159-g742ac5c

Jeremy Allison jra at samba.org
Mon Nov 17 23:41:48 GMT 2008


The branch, v3-2-test has been updated
       via  742ac5c45674446546b9e8ee22320a39d700b195 (commit)
      from  1daad740c6f0e3914b691b3e9c57aaf68ba0ca01 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 742ac5c45674446546b9e8ee22320a39d700b195
Author: Davide Sfriso <sfriso at virgilio.it>
Date:   Mon Nov 17 15:40:43 2008 -0800

    Fix bug #5906 when running winbindd on a Samba PDC. Winbindd crash on 'getent group'.

-----------------------------------------------------------------------

Summary of changes:
 source/winbindd/winbindd_passdb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_passdb.c b/source/winbindd/winbindd_passdb.c
index 0cf4540..101854a 100644
--- a/source/winbindd/winbindd_passdb.c
+++ b/source/winbindd/winbindd_passdb.c
@@ -639,13 +639,13 @@ static NTSTATUS sam_lookup_groupmem(struct winbindd_domain *domain,
 				  sid_type_lookup(lsa_names[i].type)));
 			continue;
 		}
-		if (!((*names)[i] = talloc_strdup((*names),
+		if (!((*names)[num_mapped] = talloc_strdup((*names),
 						  lsa_names[i].name))) {
 			TALLOC_FREE(tmp_ctx);
 			return NT_STATUS_NO_MEMORY;
 		}
 
-		(*name_types)[i] = lsa_names[i].type;
+		(*name_types)[num_mapped] = lsa_names[i].type;
 
 		num_mapped += 1;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list