summaryrefslogtreecommitdiff
path: root/lib/util/util_ldb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-22 14:26:59 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-22 17:10:06 -0700
commitbb3bdb3a62b3b895b9e0c013483a6356ecd7a3aa (patch)
treedbe0548e6ca98980dea6c1a01e4976b0a8040173 /lib/util/util_ldb.c
parent4a74b2839753aa248f1c60f3e2d1f2441c0ac891 (diff)
downloadsamba-bb3bdb3a62b3b895b9e0c013483a6356ecd7a3aa.tar.gz
samba-bb3bdb3a62b3b895b9e0c013483a6356ecd7a3aa.tar.bz2
samba-bb3bdb3a62b3b895b9e0c013483a6356ecd7a3aa.zip
s4-ldb: added a bunch more debug for DC join
These additional debug messages were added to help us track down w2k8->s4 domain join
Diffstat (limited to 'lib/util/util_ldb.c')
-rw-r--r--lib/util/util_ldb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/util/util_ldb.c b/lib/util/util_ldb.c
index 6aea77691b..ac1e11566e 100644
--- a/lib/util/util_ldb.c
+++ b/lib/util/util_ldb.c
@@ -213,8 +213,9 @@ int gendb_search_single_extended_dn(struct ldb_context *ldb,
}
if (res->count > 1) {
- /* the function is only supposed to return a single
- entry */
+ /* the function is only supposed to return a single entry */
+ DEBUG(0,(__location__ ": More than one return for baseDN %s filter %s\n",
+ ldb_dn_get_linearized(basedn), filter));
talloc_free(tmp_ctx);
return LDB_ERR_CONSTRAINT_VIOLATION;
}