From e00dbecb88de54086988624b7d4a12d95c788ddb Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 21 May 2002 07:53:28 +0000 Subject: debug classized (This used to be commit ae5d24873ad0fb3df970cc9912e18e6a5067ae2d) --- source3/auth/auth.c | 3 +++ source3/auth/auth_builtin.c | 3 +++ source3/auth/auth_compat.c | 3 +++ source3/auth/auth_domain.c | 3 +++ source3/auth/auth_rhosts.c | 3 +++ source3/auth/auth_sam.c | 3 +++ source3/auth/auth_server.c | 3 +++ source3/auth/auth_unix.c | 3 +++ source3/auth/auth_util.c | 3 +++ source3/auth/auth_winbind.c | 3 +++ source3/auth/pampass.c | 3 +++ source3/auth/pass_check.c | 3 +++ 12 files changed, 36 insertions(+) (limited to 'source3/auth') 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) -- cgit