The Samba-Bugzilla – Attachment 4121 Details for
Bug 6313
smbpasswd fails to set password when using ldap/editposix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix abort in ldapsam
patch-3-4-test (text/plain), 1.06 KB, created by
Guenther Deschner
on 2009-05-05 15:00:49 UTC
(
hide
)
Description:
Fix abort in ldapsam
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-05-05 15:00:49 UTC
Size:
1.06 KB
patch
obsolete
>commit 079c52a2c39ca2723402e7c6e2f8fd5825c2c40f >Author: Günther Deschner <gd@samba.org> >AuthorDate: Tue May 5 18:50:48 2009 +0200 >Commit: Günther Deschner <gd@samba.org> >CommitDate: Tue May 5 21:24:57 2009 +0200 > > s3-ldapsam: Fix Bug #6313: ldapsam_update_sam_account() crashes while doing talloc_free on malloced memory. > > Guenther > (cherry picked from commit 5b37df21f6af52d20ad3a25361b1d7faa51308d1) >--- > source3/passdb/pdb_ldap.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c >index b706721..02e9fed 100644 >--- a/source3/passdb/pdb_ldap.c >+++ b/source3/passdb/pdb_ldap.c >@@ -1908,7 +1908,7 @@ static NTSTATUS ldapsam_update_sam_account(struct pdb_methods *my_methods, struc > } > > entry = ldap_first_entry(ldap_state->smbldap_state->ldap_struct, result); >- dn = smbldap_talloc_dn(NULL, ldap_state->smbldap_state->ldap_struct, entry); >+ dn = smbldap_talloc_dn(talloc_tos(), ldap_state->smbldap_state->ldap_struct, entry); > if (!dn) { > return NT_STATUS_UNSUCCESSFUL; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6313
: 4121