From fc52c330aed4bbfd406d96cccc273c8e551255c2 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Fri, 30 Apr 2004 14:28:38 +0000 Subject: [PATCH] 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 55f07d8a18e..52e06b9360b 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 fe4cd52a8b1..b0d8ff35230 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 25e8fd802bd..158f1a0ede8 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. ****************************************************************************/ -- 2.11.4.GIT