From fc52c330aed4bbfd406d96cccc273c8e551255c2 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Fri, 30 Apr 2004 14:28:38 +0000 Subject: r428: add acls debug class (This used to be commit b7703799f8899affda205eacb0bf79cf8e2b9362) --- source3/include/debug.h | 1 + source3/lib/debug.c | 1 + source3/smbd/posix_acls.c | 3 +++ 3 files changed, 5 insertions(+) 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. ****************************************************************************/ -- cgit