From 9aefaa9dc9f37c3dadbe66af5ef9f43e205bb18f Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 17 Oct 2024 12:12:46 +1300 Subject: [PATCH] lib:ldb-samba: use 'ldb' debug class more widely Signed-off-by: Douglas Bagnall Reviewed-by: Andreas Schneider --- lib/ldb-samba/ldb_matching_rules.c | 3 +++ lib/ldb-samba/ldif_handlers.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/ldb-samba/ldb_matching_rules.c b/lib/ldb-samba/ldb_matching_rules.c index 9520c805558..9a8dba3e18b 100644 --- a/lib/ldb-samba/ldb_matching_rules.c +++ b/lib/ldb-samba/ldb_matching_rules.c @@ -31,6 +31,9 @@ #undef strcasecmp +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LDB + static int ldb_eval_transitive_filter_helper(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, const char *attr, diff --git a/lib/ldb-samba/ldif_handlers.c b/lib/ldb-samba/ldif_handlers.c index 35531222611..89bc68e7f4e 100644 --- a/lib/ldb-samba/ldif_handlers.c +++ b/lib/ldb-samba/ldif_handlers.c @@ -38,6 +38,9 @@ #include "../lib/util/asn1.h" #include "lib/util/smb_strtox.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_LDB + /* use ndr_print_* to convert a NDR formatted blob to a ldif formatted blob -- 2.47.3