summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/debug.c2
-rw-r--r--source3/lib/util.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index b69a35ecd5..43d1f64eb1 100644
--- a/source3/lib/debug.c
+++ b/source3/lib/debug.c
@@ -164,6 +164,8 @@ static const char *default_classname_table[] = {
"idmap", /* DBGC_IDMAP */
"quota", /* DBGC_QUOTA */
"acls", /* DBGC_ACLS */
+ "printerdb", /* DBGC_PRINTERDB */
+ "locking", /* DBGC_LOCKING */
NULL
};
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 596f0827a5..b0cd9aa9e7 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1793,6 +1793,9 @@ void free_namearray(name_compare_entry *name_array)
SAFE_FREE(name_array);
}
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LOCKING
+
/****************************************************************************
Simple routine to do POSIX file locking. Cruft in NFS and 64->32 bit mapping
is dealt with in posix.c
@@ -1843,6 +1846,9 @@ BOOL fcntl_lock(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type)
return(True);
}
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_ALL
+
/*******************************************************************
Is the name specified one of my netbios names.
Returns true if it is equal, false otherwise.