The branch, v3-3-test has been updated via f4ebb87e39a3f5d1b76cfd2be86d56de9ae98ee9 (commit) from 37233a3f62f4b0e5d4fc3376687f445656bded41 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log ----------------------------------------------------------------- commit f4ebb87e39a3f5d1b76cfd2be86d56de9ae98ee9 Author: Davide Sfriso <[EMAIL PROTECTED]> Date: Mon Nov 17 15:39:34 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