summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-17 12:51:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:33:27 -0500
commit878e139f09e6e2f87de35341f4340119959469e5 (patch)
tree77fc3d48549d14279f0f9714fecbaa48179a7237 /source4
parent36fb8185edc70dfdedbf6e26c2aafaa3c46a9102 (diff)
downloadsamba-878e139f09e6e2f87de35341f4340119959469e5.tar.gz
samba-878e139f09e6e2f87de35341f4340119959469e5.tar.bz2
samba-878e139f09e6e2f87de35341f4340119959469e5.zip
r9357: Remove DBGC_CLASS cruft copied over from Samba 3. I would like to
replace this with something funkier. (This used to be commit 8d376d56c78894b9bbd27ed7fa70da415c0cd038)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_server.c3
-rw-r--r--source4/auth/gensec/gensec_gssapi.c3
-rw-r--r--source4/auth/gensec/spnego.c3
-rw-r--r--source4/auth/gensec/spnego_parse.c3
-rw-r--r--source4/auth/ntlm_check.c3
-rw-r--r--source4/auth/pampass.c3
-rw-r--r--source4/auth/pass_check.c3
-rw-r--r--source4/lib/gencache.c3
-rw-r--r--source4/lib/registry/common/reg_interface.c3
-rw-r--r--source4/lib/registry/common/reg_util.c3
-rw-r--r--source4/lib/registry/reg_samba.c3
-rw-r--r--source4/passdb/secrets.c3
-rw-r--r--source4/utils/ntlm_auth.c3
13 files changed, 0 insertions, 39 deletions
diff --git a/source4/auth/auth_server.c b/source4/auth/auth_server.c
index fc87cd91f6..e5fe02efe7 100644
--- a/source4/auth/auth_server.c
+++ b/source4/auth/auth_server.c
@@ -21,9 +21,6 @@
#include "includes.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
/****************************************************************************
Support for server level security.
****************************************************************************/
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index b6fda0402f..183e3f201b 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -29,9 +29,6 @@
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "auth/auth.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
struct gensec_gssapi_state {
gss_ctx_id_t gssapi_context;
struct gss_channel_bindings_struct *input_chan_bindings;
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index 28d76ff5b5..2d1d779e43 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -25,9 +25,6 @@
#include "includes.h"
#include "auth/auth.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
enum spnego_state_position {
SPNEGO_SERVER_START,
SPNEGO_CLIENT_START,
diff --git a/source4/auth/gensec/spnego_parse.c b/source4/auth/gensec/spnego_parse.c
index e48c32f0da..59b09b1969 100644
--- a/source4/auth/gensec/spnego_parse.c
+++ b/source4/auth/gensec/spnego_parse.c
@@ -25,9 +25,6 @@
#include "auth/auth.h"
#include "asn_1.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
static BOOL read_negTokenInit(struct asn1_data *asn1, struct spnego_negTokenInit *token)
{
ZERO_STRUCTP(token);
diff --git a/source4/auth/ntlm_check.c b/source4/auth/ntlm_check.c
index fb7dd3384d..fa9677e75e 100644
--- a/source4/auth/ntlm_check.c
+++ b/source4/auth/ntlm_check.c
@@ -24,9 +24,6 @@
#include "lib/crypto/crypto.h"
#include "librpc/gen_ndr/ndr_samr.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
/****************************************************************************
Core of smb password checking routine.
****************************************************************************/
diff --git a/source4/auth/pampass.c b/source4/auth/pampass.c
index 8612aa9ac0..cb614b49af 100644
--- a/source4/auth/pampass.c
+++ b/source4/auth/pampass.c
@@ -29,9 +29,6 @@
#include "includes.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
#ifdef WITH_PAM
/*******************************************************************
diff --git a/source4/auth/pass_check.c b/source4/auth/pass_check.c
index 132d219490..6bcb52d5b6 100644
--- a/source4/auth/pass_check.c
+++ b/source4/auth/pass_check.c
@@ -25,9 +25,6 @@
#include "system/passwd.h"
#include "system/iconv.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
/* these are kept here to keep the string_combinations function simple */
static fstring this_user;
#if !defined(WITH_PAM)
diff --git a/source4/lib/gencache.c b/source4/lib/gencache.c
index 2db66b7564..de8c47ada5 100644
--- a/source4/lib/gencache.c
+++ b/source4/lib/gencache.c
@@ -27,9 +27,6 @@
#include "system/filesys.h"
#include "db_wrap.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_TDB
-
#define TIMEOUT_LEN 12
#define CACHE_DATA_FMT "%12u/%s"
diff --git a/source4/lib/registry/common/reg_interface.c b/source4/lib/registry/common/reg_interface.c
index 76de2f041f..2abe90f2d1 100644
--- a/source4/lib/registry/common/reg_interface.c
+++ b/source4/lib/registry/common/reg_interface.c
@@ -22,9 +22,6 @@
#include "dlinklist.h"
#include "registry.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_REGISTRY
-
/* List of available backends */
static struct reg_init_function_entry *backends = NULL;
diff --git a/source4/lib/registry/common/reg_util.c b/source4/lib/registry/common/reg_util.c
index e12cff186a..2d933f2e6b 100644
--- a/source4/lib/registry/common/reg_util.c
+++ b/source4/lib/registry/common/reg_util.c
@@ -21,9 +21,6 @@
#include "includes.h"
#include "registry.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_REGISTRY
-
static const struct {
uint32_t id;
const char *name;
diff --git a/source4/lib/registry/reg_samba.c b/source4/lib/registry/reg_samba.c
index 3c9ae3f415..6341a1c4ee 100644
--- a/source4/lib/registry/reg_samba.c
+++ b/source4/lib/registry/reg_samba.c
@@ -20,9 +20,6 @@
#include "includes.h"
#include "registry.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_REGISTRY
-
static WERROR reg_samba_get_predef (struct registry_context *ctx, uint32_t hkey, struct registry_key **k)
{
WERROR error;
diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c
index 44f9fe9311..356847c6ee 100644
--- a/source4/passdb/secrets.c
+++ b/source4/passdb/secrets.c
@@ -29,9 +29,6 @@
#include "pstring.h"
#include "db_wrap.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_PASSDB
-
static struct tdb_wrap *tdb;
/**
diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c
index 61d6ff3b85..35520756e7 100644
--- a/source4/utils/ntlm_auth.c
+++ b/source4/utils/ntlm_auth.c
@@ -30,9 +30,6 @@
#include "auth/auth.h"
#include "librpc/gen_ndr/ndr_security.h"
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_WINBIND
-
#define SQUID_BUFFER_SIZE 2010
enum stdio_helper_mode {