[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2709-g0d73bde

Günther Deschner gd at samba.org
Tue Mar 4 10:05:41 GMT 2008


The branch, v3-2-test has been updated
       via  0d73bde6de4391e7aec862424762473441fa0905 (commit)
      from  fd18b01016d1dc4b08983975353e62084fdc323c (commit)

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


- Log -----------------------------------------------------------------
commit 0d73bde6de4391e7aec862424762473441fa0905
Author: Günther Deschner <gd at samba.org>
Date:   Tue Mar 4 11:02:26 2008 +0100

    Fix crash bug in pdb_init_ldapsam().
    
    Karolin, this needs to be in 3-2-stable.
    
    Guenther

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

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


Changeset truncated at 500 lines:

diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c
index ce79dce..87a648a 100644
--- a/source/passdb/pdb_ldap.c
+++ b/source/passdb/pdb_ldap.c
@@ -6264,7 +6264,7 @@ NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location)
 		    entry,
 		    get_userattr_key2string(ldap_state->schema_ver,
 					    LDAP_ATTR_USER_SID),
-		    NULL);
+		    talloc_tos());
 
 	if (domain_sid_string) {
 		bool found_sid;
@@ -6300,7 +6300,7 @@ NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location)
 		    entry,
 		    get_attr_key2string( dominfo_attr_list,
 					 LDAP_ATTR_ALGORITHMIC_RID_BASE ),
-		    NULL);
+		    talloc_tos());
 	if (alg_rid_base_string) {
 		alg_rid_base = (uint32)atol(alg_rid_base_string);
 		if (alg_rid_base != algorithmic_rid_base()) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list