summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2024-10-17 12:12:46 +1300
committerDouglas Bagnall <dbagnall@samba.org>2024-12-19 23:00:32 +0000
commit9aefaa9dc9f37c3dadbe66af5ef9f43e205bb18f (patch)
tree6c0f0295f893bfaf9edb85fe04efaf5048ab47bc /lib
parent0031a82478c4976815e3a6dec77ff8d3d4f83387 (diff)
downloadsamba-9aefaa9dc9f37c3dadbe66af5ef9f43e205bb18f.tar.gz
samba-9aefaa9dc9f37c3dadbe66af5ef9f43e205bb18f.tar.bz2
samba-9aefaa9dc9f37c3dadbe66af5ef9f43e205bb18f.zip
lib:ldb-samba: use 'ldb' debug class more widely
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb-samba/ldb_matching_rules.c3
-rw-r--r--lib/ldb-samba/ldif_handlers.c3
2 files changed, 6 insertions, 0 deletions
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