diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-13 06:02:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:03 -0500 |
commit | 490a5a5d595c021771fb6965829a3821d6dddb6a (patch) | |
tree | b8db4f05d3fc4d237426dd8982c97b76cdc2144d | |
parent | d94805ea55aef50403ecf6570039319a4505f835 (diff) | |
download | samba-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)
-rw-r--r-- | source4/lib/ldb/ldb_ldap/ldb_ldap.c | 2 |
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; |