summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ldap
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-13 06:02:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:03 -0500
commit490a5a5d595c021771fb6965829a3821d6dddb6a (patch)
treeb8db4f05d3fc4d237426dd8982c97b76cdc2144d /source4/lib/ldb/ldb_ldap
parentd94805ea55aef50403ecf6570039319a4505f835 (diff)
downloadsamba-490a5a5d595c021771fb6965829a3821d6dddb6a.tar.gz
samba-490a5a5d595c021771fb6965829a3821d6dddb6a.tar.bz2
samba-490a5a5d595c021771fb6965829a3821d6dddb6a.zip
r7518: don't use an uninitialised ldb debug function when failing to load modules in the ldap
backend (This used to be commit 52e4a5b3b0c4c96bf9686ce047ccfc1846dc2c89)
Diffstat (limited to 'source4/lib/ldb/ldb_ldap')
-rw-r--r--source4/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
index c62c1b9e56..95b620f571 100644
--- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
@@ -483,6 +483,8 @@ struct ldb_context *lldb_connect(const char *url,
goto failed;
}
+ ldb->debug_ops.debug = NULL;
+
lldb = talloc(ldb, struct lldb_private);
if (!lldb) {
errno = ENOMEM;