From 490a5a5d595c021771fb6965829a3821d6dddb6a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Jun 2005 06:02:55 +0000 Subject: r7518: don't use an uninitialised ldb debug function when failing to load modules in the ldap backend (This used to be commit 52e4a5b3b0c4c96bf9686ce047ccfc1846dc2c89) --- source4/lib/ldb/ldb_ldap/ldb_ldap.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit