summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2002-05-21 07:53:28 +0000
committerSimo Sorce <idra@samba.org>2002-05-21 07:53:28 +0000
commite00dbecb88de54086988624b7d4a12d95c788ddb (patch)
tree5df446c0a73a32b2c47a819aab254ce55fe8b8e7 /source3
parent8a35fba95bd966924216dc959b4edd18bd2bd47c (diff)
downloadsamba-e00dbecb88de54086988624b7d4a12d95c788ddb.tar.gz
samba-e00dbecb88de54086988624b7d4a12d95c788ddb.tar.bz2
samba-e00dbecb88de54086988624b7d4a12d95c788ddb.zip
debug classized
(This used to be commit ae5d24873ad0fb3df970cc9912e18e6a5067ae2d)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth.c3
-rw-r--r--source3/auth/auth_builtin.c3
-rw-r--r--source3/auth/auth_compat.c3
-rw-r--r--source3/auth/auth_domain.c3
-rw-r--r--source3/auth/auth_rhosts.c3
-rw-r--r--source3/auth/auth_sam.c3
-rw-r--r--source3/auth/auth_server.c3
-rw-r--r--source3/auth/auth_unix.c3
-rw-r--r--source3/auth/auth_util.c3
-rw-r--r--source3/auth/auth_winbind.c3
-rw-r--r--source3/auth/pampass.c3
-rw-r--r--source3/auth/pass_check.c3
-rw-r--r--source3/nsswitch/wb_client.c3
-rw-r--r--source3/nsswitch/wbinfo.c3
-rw-r--r--source3/nsswitch/winbindd.h3
15 files changed, 45 insertions, 0 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index c7b9fcc1d8..394b696cf6 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -20,6 +20,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/** List of various built-in authenticaion modules */
const struct auth_init_function builtin_auth_init_functions[] = {
diff --git a/source3/auth/auth_builtin.c b/source3/auth/auth_builtin.c
index 6e999b0d14..c7af07cc48 100644
--- a/source3/auth/auth_builtin.c
+++ b/source3/auth/auth_builtin.c
@@ -20,6 +20,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/**
* Return a guest logon for guest users (username = "")
*
diff --git a/source3/auth/auth_compat.c b/source3/auth/auth_compat.c
index 857cf2b7d9..c049b3867b 100644
--- a/source3/auth/auth_compat.c
+++ b/source3/auth/auth_compat.c
@@ -20,6 +20,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/****************************************************************************
COMPATIBILITY INTERFACES:
***************************************************************************/
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 32949a575e..92b2714cf0 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -21,6 +21,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
BOOL global_machine_password_needs_changing = False;
extern pstring global_myname;
diff --git a/source3/auth/auth_rhosts.c b/source3/auth/auth_rhosts.c
index 9586d1d65e..b2c9bc7ba8 100644
--- a/source3/auth/auth_rhosts.c
+++ b/source3/auth/auth_rhosts.c
@@ -20,6 +20,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/****************************************************************************
Read the a hosts.equiv or .rhosts file and check if it
allows this user from this machine.
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c
index 6753951c89..3e25af3c97 100644
--- a/source3/auth/auth_sam.c
+++ b/source3/auth/auth_sam.c
@@ -22,6 +22,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/****************************************************************************
core of smb password checking routine.
****************************************************************************/
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 5190d45c20..5bbc5e1489 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -21,6 +21,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
extern pstring global_myname;
extern userdom_struct current_user_info;
diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c
index 05646f554e..409090a09c 100644
--- a/source3/auth/auth_unix.c
+++ b/source3/auth/auth_unix.c
@@ -20,6 +20,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/**
* update the encrypted smbpasswd file from the plaintext username and password
*
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index d80c927c19..d7c748982d 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -22,6 +22,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
extern fstring remote_machine;
extern pstring global_myname;
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index bc19b36b54..565b2de063 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -23,6 +23,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/* Prototypes from common.h */
NSS_STATUS winbindd_request(int req_type,
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 1428e929f1..a2e7e4c4c3 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -29,6 +29,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
#ifdef WITH_PAM
/*******************************************************************
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c
index 47c9664a74..a98fe6b7c7 100644
--- a/source3/auth/pass_check.c
+++ b/source3/auth/pass_check.c
@@ -23,6 +23,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DGBC_AUTH
+
/* these are kept here to keep the string_combinations function simple */
static fstring this_user;
#if !defined(WITH_PAM)
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c
index 53550ca353..9e34ecdd0d 100644
--- a/source3/nsswitch/wb_client.c
+++ b/source3/nsswitch/wb_client.c
@@ -25,6 +25,9 @@
#include "includes.h"
#include "nsswitch/nss.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_WINBIND
+
NSS_STATUS winbindd_request(int req_type,
struct winbindd_request *request,
struct winbindd_response *response);
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 8517a5ce1c..5a4af08c19 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -25,6 +25,9 @@
#include "winbindd.h"
#include "debug.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_WINBIND
+
/* Prototypes from common.h */
NSS_STATUS winbindd_request(int req_type,
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h
index 4d35c27c21..11d399be49 100644
--- a/source3/nsswitch/winbindd.h
+++ b/source3/nsswitch/winbindd.h
@@ -29,6 +29,9 @@
#include "winbindd_nss.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_WINBIND
+
/* Client state structure */
struct winbindd_cli_state {