From db18fab4f86e76c3ff037ec39728fefe243202a9 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 --- source/include/debug.h | 1 + source/lib/debug.c | 1 + source/smbd/posix_acls.c | 3 +++ 3 files changed, 5 insertions(+) diff --git a/source/include/debug.h b/source/include/debug.h index 55f07d8a18e..52e06b9360b 100644 --- a/source/include/debug.h +++ b/source/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/source/lib/debug.c b/source/lib/debug.c index fe4cd52a8b1..b0d8ff35230 100644 --- a/source/lib/debug.c +++ b/source/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/source/smbd/posix_acls.c b/source/smbd/posix_acls.c index 25e8fd802bd..158f1a0ede8 100644 --- a/source/smbd/posix_acls.c +++ b/source/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