]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:ldb-samba: use 'ldb' debug class more widely
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 16 Oct 2024 23:12:46 +0000 (12:12 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 19 Dec 2024 23:00:32 +0000 (23:00 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/ldb-samba/ldb_matching_rules.c
lib/ldb-samba/ldif_handlers.c

index 9520c805558504b3bcdc553eb2ef4aa333cf0913..9a8dba3e18b5407102c6150015b494d72ae1438c 100644 (file)
@@ -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,
index 355312226111d278979f7ed7966beae6bc556987..89bc68e7f4e739182d641cb42070a87f276fe553 100644 (file)
@@ -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