Author: tpot
Date: 2005-08-17 12:51:07 +0000 (Wed, 17 Aug 2005)
New Revision: 9357

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9357

Log:
Remove DBGC_CLASS cruft copied over from Samba 3.  I would like to 
replace this with something funkier.

Modified:
   branches/SAMBA_4_0/source/auth/auth_server.c
   branches/SAMBA_4_0/source/auth/gensec/gensec_gssapi.c
   branches/SAMBA_4_0/source/auth/gensec/spnego.c
   branches/SAMBA_4_0/source/auth/gensec/spnego_parse.c
   branches/SAMBA_4_0/source/auth/ntlm_check.c
   branches/SAMBA_4_0/source/auth/pampass.c
   branches/SAMBA_4_0/source/auth/pass_check.c
   branches/SAMBA_4_0/source/lib/gencache.c
   branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c
   branches/SAMBA_4_0/source/lib/registry/common/reg_util.c
   branches/SAMBA_4_0/source/lib/registry/reg_samba.c
   branches/SAMBA_4_0/source/passdb/secrets.c
   branches/SAMBA_4_0/source/utils/ntlm_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_server.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_server.c        2005-08-17 12:28:47 UTC 
(rev 9356)
+++ branches/SAMBA_4_0/source/auth/auth_server.c        2005-08-17 12:51:07 UTC 
(rev 9357)
@@ -21,9 +21,6 @@
 
 #include "includes.h"
 
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
 /****************************************************************************
  Support for server level security.
 ****************************************************************************/

Modified: branches/SAMBA_4_0/source/auth/gensec/gensec_gssapi.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/gensec_gssapi.c       2005-08-17 
12:28:47 UTC (rev 9356)
+++ branches/SAMBA_4_0/source/auth/gensec/gensec_gssapi.c       2005-08-17 
12:51:07 UTC (rev 9357)
@@ -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;

Modified: branches/SAMBA_4_0/source/auth/gensec/spnego.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/spnego.c      2005-08-17 12:28:47 UTC 
(rev 9356)
+++ branches/SAMBA_4_0/source/auth/gensec/spnego.c      2005-08-17 12:51:07 UTC 
(rev 9357)
@@ -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,

Modified: branches/SAMBA_4_0/source/auth/gensec/spnego_parse.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/spnego_parse.c        2005-08-17 
12:28:47 UTC (rev 9356)
+++ branches/SAMBA_4_0/source/auth/gensec/spnego_parse.c        2005-08-17 
12:51:07 UTC (rev 9357)
@@ -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);

Modified: branches/SAMBA_4_0/source/auth/ntlm_check.c
===================================================================
--- branches/SAMBA_4_0/source/auth/ntlm_check.c 2005-08-17 12:28:47 UTC (rev 
9356)
+++ branches/SAMBA_4_0/source/auth/ntlm_check.c 2005-08-17 12:51:07 UTC (rev 
9357)
@@ -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.
 ****************************************************************************/

Modified: branches/SAMBA_4_0/source/auth/pampass.c
===================================================================
--- branches/SAMBA_4_0/source/auth/pampass.c    2005-08-17 12:28:47 UTC (rev 
9356)
+++ branches/SAMBA_4_0/source/auth/pampass.c    2005-08-17 12:51:07 UTC (rev 
9357)
@@ -29,9 +29,6 @@
 
 #include "includes.h"
 
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_AUTH
-
 #ifdef WITH_PAM
 
 /*******************************************************************

Modified: branches/SAMBA_4_0/source/auth/pass_check.c
===================================================================
--- branches/SAMBA_4_0/source/auth/pass_check.c 2005-08-17 12:28:47 UTC (rev 
9356)
+++ branches/SAMBA_4_0/source/auth/pass_check.c 2005-08-17 12:51:07 UTC (rev 
9357)
@@ -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) 

Modified: branches/SAMBA_4_0/source/lib/gencache.c
===================================================================
--- branches/SAMBA_4_0/source/lib/gencache.c    2005-08-17 12:28:47 UTC (rev 
9356)
+++ branches/SAMBA_4_0/source/lib/gencache.c    2005-08-17 12:51:07 UTC (rev 
9357)
@@ -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"
 

Modified: branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c       
2005-08-17 12:28:47 UTC (rev 9356)
+++ branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c       
2005-08-17 12:51:07 UTC (rev 9357)
@@ -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;
 

Modified: branches/SAMBA_4_0/source/lib/registry/common/reg_util.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/common/reg_util.c    2005-08-17 
12:28:47 UTC (rev 9356)
+++ branches/SAMBA_4_0/source/lib/registry/common/reg_util.c    2005-08-17 
12:51:07 UTC (rev 9357)
@@ -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;

Modified: branches/SAMBA_4_0/source/lib/registry/reg_samba.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/reg_samba.c  2005-08-17 12:28:47 UTC 
(rev 9356)
+++ branches/SAMBA_4_0/source/lib/registry/reg_samba.c  2005-08-17 12:51:07 UTC 
(rev 9357)
@@ -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;

Modified: branches/SAMBA_4_0/source/passdb/secrets.c
===================================================================
--- branches/SAMBA_4_0/source/passdb/secrets.c  2005-08-17 12:28:47 UTC (rev 
9356)
+++ branches/SAMBA_4_0/source/passdb/secrets.c  2005-08-17 12:51:07 UTC (rev 
9357)
@@ -29,9 +29,6 @@
 #include "pstring.h"
 #include "db_wrap.h"
 
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_PASSDB
-
 static struct tdb_wrap *tdb;
 
 /**

Modified: branches/SAMBA_4_0/source/utils/ntlm_auth.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ntlm_auth.c 2005-08-17 12:28:47 UTC (rev 
9356)
+++ branches/SAMBA_4_0/source/utils/ntlm_auth.c 2005-08-17 12:51:07 UTC (rev 
9357)
@@ -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 {

Reply via email to