summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2004-04-30 14:28:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:23 -0500
commitfc52c330aed4bbfd406d96cccc273c8e551255c2 (patch)
tree59f4de7dd9895ce716d20f8b8db98188f17089a4
parentfc7a1ee35e3bc7aff7a78e0e8e066699fa70fa4b (diff)
downloadsamba-fc52c330aed4bbfd406d96cccc273c8e551255c2.tar.gz
samba-fc52c330aed4bbfd406d96cccc273c8e551255c2.tar.bz2
samba-fc52c330aed4bbfd406d96cccc273c8e551255c2.zip
r428: add acls debug class
(This used to be commit b7703799f8899affda205eacb0bf79cf8e2b9362)
-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.
****************************************************************************/