summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/debug.h1
-rw-r--r--source3/lib/debug.c1
-rw-r--r--source3/smbd/posix_acls.c3
3 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h
index 55f07d8a18..52e06b9360 100644
--- a/source3/include/debug.h
+++ b/source3/include/debug.h
@@ -93,6 +93,7 @@ extern int DEBUGLEVEL;
#define DBGC_VFS 12
#define DBGC_IDMAP 13
#define DBGC_QUOTA 14
+#define DBGC_ACLS 15
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index fe4cd52a8b..b0d8ff3523 100644
--- a/source3/lib/debug.c
+++ b/source3/lib/debug.c
@@ -163,6 +163,7 @@ static const char *default_classname_table[] = {
"vfs", /* DBGC_VFS */
"idmap", /* DBGC_IDMAP */
"quota", /* DBGC_QUOTA */
+ "acls", /* DBGC_QUOTA */
NULL
};
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 25e8fd802b..158f1a0ede 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -21,6 +21,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_ACLS
+
/****************************************************************************
Data structures representing the internal ACE format.
****************************************************************************/