summaryrefslogtreecommitdiffstats
path: root/source/passdb/passgrp.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2002-05-18 15:09:21 +0000
committerSimo Sorce <idra@samba.org>2002-05-18 15:09:21 +0000
commitbe5c3b3f5781ddc002ffcc98df04ab024dcef4ca (patch)
treec949c7f3d39955e17f53a4ec6bbb279fcf03fd09 /source/passdb/passgrp.c
parent00ef4aad88f4ba9f2e242578c37933eac001c351 (diff)
downloadsamba-be5c3b3f5781ddc002ffcc98df04ab024dcef4ca.tar.gz
samba-be5c3b3f5781ddc002ffcc98df04ab024dcef4ca.tar.xz
samba-be5c3b3f5781ddc002ffcc98df04ab024dcef4ca.zip
so here it is the code to introduce seriously debugggging classes.
this is a first step only passdb stuff has beein "classized". - so what can you do? set debug level to: 1 poasdb:10 that will make all the code run at debug level 1 except the code in passdb/* files that will run at level 10 TODO: fix the man page - also smbcontrol has this nice feature so smbcontrol smbd debug 3 passdb:5 will set every smbd to have a default log level of 3 while passdb stuff will be at level 5 and so no.. minor cosmetic fix to pdbedit is there too
Diffstat (limited to 'source/passdb/passgrp.c')
-rw-r--r--source/passdb/passgrp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/passdb/passgrp.c b/source/passdb/passgrp.c
index d7ed9656480..f73591793f5 100644
--- a/source/passdb/passgrp.c
+++ b/source/passdb/passgrp.c
@@ -21,6 +21,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_PASSDB
+
/*
* NOTE. All these functions are abstracted into a structure
* that points to the correct function for the selected database. JRA.