[SCM] Samba Shared Repository - branch master updated - 9ea794417e8bad3da4236f4071a0d8a23612ac8a

Jeremy Allison jra at samba.org
Mon Nov 17 23:40:47 GMT 2008


The branch, master has been updated
       via  9ea794417e8bad3da4236f4071a0d8a23612ac8a (commit)
      from  d8df43e65d507710de72c6743f43127ad14019fc (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9ea794417e8bad3da4236f4071a0d8a23612ac8a
Author: Davide Sfriso <sfriso at virgilio.it>
Date:   Mon Nov 17 15:38:56 2008 -0800

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

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

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


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_passdb.c b/source3/winbindd/winbindd_passdb.c
index 0cf4540..101854a 100644
--- a/source3/winbindd/winbindd_passdb.c
+++ b/source3/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