From: Douglas Bagnall Date: Wed, 16 Oct 2024 23:12:46 +0000 (+1300) Subject: lib:ldb-samba: use 'ldb' debug class more widely X-Git-Tag: tdb-1.4.13~268 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9aefaa9dc9f37c3dadbe66af5ef9f43e205bb18f;p=thirdparty%2Fsamba.git lib:ldb-samba: use 'ldb' debug class more widely Signed-off-by: Douglas Bagnall Reviewed-by: Andreas Schneider --- 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