dsdb: improve debugging in DsCrackNameOneFilter
authorAndrew Bartlett <abartlet@samba.org>
Sun, 17 Aug 2014 22:08:24 +0000 (10:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 31 Aug 2014 22:36:42 +0000 (00:36 +0200)
Change-Id: I64d8e1eb94d833dc8ebf18fecdf32a83470a087e
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
1

source4/dsdb/samdb/cracknames.c

index 7c189d365fee4d461baa86bb17916cdbec5a0838..0d1a80050a336a7e6121922c925b3f7553d1b469 100644 (file)
@@ -973,7 +973,9 @@ static WERROR DsCrackNameOneFilter(struct ldb_context *sam_ctx, TALLOC_CTX *mem_
                                  dsdb_flags,
                                  "%s", result_filter);
                if (ret != LDB_SUCCESS) {
-                       DEBUG(2, ("DsCrackNameOneFilter phantom root search failed: %s\n",
+                       DEBUG(2, ("DsCrackNameOneFilter search from '%s' with flags 0x%08x failed: %s\n",
+                                 ldb_dn_get_linearized(real_search_dn),
+                                 dsdb_flags,
                                  ldb_errstring(sam_ctx)));
                        info1->status = DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR;
                        return WERR_OK;