svn commit: samba r7518 - in branches/SAMBA_4_0/source/lib/ldb/ldb_ldap: .

tridge at samba.org tridge at samba.org
Mon Jun 13 06:02:55 GMT 2005


Author: tridge
Date: 2005-06-13 06:02:55 +0000 (Mon, 13 Jun 2005)
New Revision: 7518

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7518

Log:
don't use an uninitialised ldb debug function when failing to load modules in the ldap
backend



Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c	2005-06-13 05:58:49 UTC (rev 7517)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c	2005-06-13 06:02:55 UTC (rev 7518)
@@ -483,6 +483,8 @@
 		goto failed;
 	}
 
+	ldb->debug_ops.debug = NULL;
+
 	lldb = talloc(ldb, struct lldb_private);
 	if (!lldb) {
 		errno = ENOMEM;



More information about the samba-cvs mailing list