summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-09-06 16:37:34 +1200
committerKarolin Seeger <kseeger@samba.org>2017-09-14 17:48:26 +0200
commit5977227b29ff96e514a4941f8bbd0d703ff6a474 (patch)
tree34c7cbdba19b11e9c347cfb5b6720fb958fa30a8 /lib/util
parent8fbaf1567b20cc7b3eca66198ce2457247926237 (diff)
downloadsamba-5977227b29ff96e514a4941f8bbd0d703ff6a474.tar.gz
debug: Add new debug class "drs_repl" for DRS replication processing
This is used in the client and in the server BUG: https://bugzilla.samba.org/show_bug.cgi?id=13017 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> (cherry picked from commit 51289a6f9bf25189386dd3f66b5b547f02348508)
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug.c1
-rw-r--r--lib/util/debug.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index d30b1a9fae5..8b28002501f 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -540,6 +540,7 @@ static const char *default_classname_table[] = {
[DBGC_AUTH_AUDIT] = "auth_audit",
[DBGC_AUTH_AUDIT_JSON] = "auth_json_audit",
[DBGC_KERBEROS] = "kerberos",
+ [DBGC_DRS_REPL] = "drs_repl",
};
/*
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 71d8ed69a42..e82553aaf71 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -92,6 +92,7 @@ bool dbghdr( int level, const char *location, const char *func);
#define DBGC_AUTH_AUDIT 24
#define DBGC_AUTH_AUDIT_JSON 25
#define DBGC_KERBEROS 26
+#define DBGC_DRS_REPL 27
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS