summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-05-16 08:32:03 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-06-30 02:12:22 +0200
commitdaeb74aed8741ec80ccc2121da3a24b51ccfa021 (patch)
tree983bcd72c849c53feea6f999e824f1558179e8ab /lib/util
parent6cddaa577bf402eccac1bd1240c7cf83549564fe (diff)
downloadsamba-daeb74aed8741ec80ccc2121da3a24b51ccfa021.tar.gz
debug: new debug class for kerberos
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug.c1
-rw-r--r--lib/util/debug.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 5abca41d534..d30b1a9fae5 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -539,6 +539,7 @@ static const char *default_classname_table[] = {
[DBGC_TEVENT] = "tevent",
[DBGC_AUTH_AUDIT] = "auth_audit",
[DBGC_AUTH_AUDIT_JSON] = "auth_json_audit",
+ [DBGC_KERBEROS] = "kerberos",
};
/*
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 9d5f438255d..71d8ed69a42 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -91,6 +91,8 @@ bool dbghdr( int level, const char *location, const char *func);
#define DBGC_TEVENT 23
#define DBGC_AUTH_AUDIT 24
#define DBGC_AUTH_AUDIT_JSON 25
+#define DBGC_KERBEROS 26
+
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS
#define DBGC_CLASS 0 /* override as shown above */