summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ldap
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-06 09:55:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:46 -0500
commit68293565de0b799dcc51e001dabf53adf88ee7ad (patch)
treecc8710f307f2f4ed31bd5d4fdd1e17433fc692a5 /source4/lib/ldb/ldb_ldap
parent404c319a5013132edf402e18da0144d7566d2623 (diff)
downloadsamba-68293565de0b799dcc51e001dabf53adf88ee7ad.tar.gz
samba-68293565de0b799dcc51e001dabf53adf88ee7ad.tar.bz2
samba-68293565de0b799dcc51e001dabf53adf88ee7ad.zip
r513: added a generic ldb debug system to allow the Samba debug functions to
be cleanly interfaced to ldb (This used to be commit 74b89d5f960d6b936751e3f057b4540eb80b79cd)
Diffstat (limited to 'source4/lib/ldb/ldb_ldap')
-rw-r--r--source4/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
index 7e7d047f25..7e959e7854 100644
--- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
@@ -248,7 +248,7 @@ static int lldb_search(struct ldb_context *ldb, const char *base,
if (msg_count == count) {
/* hmm, got too many? */
- fprintf(stderr,"Too many messages?!\n");
+ ldb_debug(ldb, LDB_DEBUG_FATAL, "Fatal: ldap message count inconsistent\n");
break;
}