auth: Use DBGC_AUTH as DBGC_CLASS for AD DC NTLM auth code.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 May 2018 01:51:16 +0000 (13:51 +1200)
committerJeremy Allison <jra@samba.org>
Mon, 21 May 2018 21:48:18 +0000 (23:48 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/auth/ntlm/auth.c
source4/auth/ntlm/auth_anonymous.c
source4/auth/ntlm/auth_developer.c
source4/auth/ntlm/auth_sam.c
source4/auth/ntlm/auth_server_service.c
source4/auth/ntlm/auth_simple.c
source4/auth/ntlm/auth_unix.c
source4/auth/ntlm/auth_util.c
source4/auth/ntlm/auth_winbind.c

index 1293b287e1889f6d242a09e8496c3a57cbd8c3aa..e560116b9419ee3e526c3b1984337b5fb39b29a5 100644 (file)
@@ -34,6 +34,9 @@
 #include "auth/kerberos/kerberos_util.h"
 #include "libds/common/roles.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 static NTSTATUS auth_generate_session_info_wrapper(struct auth4_context *auth_context,
                                                   TALLOC_CTX *mem_ctx,
                                                   void *server_returned_info,
index e8a9ed3b225b011b8b013e046de2da73f5f80088..83aeb431f5f48464277dcaa785ae3a41a4b57228 100644 (file)
@@ -24,6 +24,9 @@
 #include "auth/ntlm/auth_proto.h"
 #include "param/param.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 _PUBLIC_ NTSTATUS auth4_anonymous_init(TALLOC_CTX *);
 
 /**
index 870357795f6907e5625f47d1780f42b7dd2b54ca..b655283975b10effb0b31ec759ad374063b09c45 100644 (file)
@@ -24,6 +24,9 @@
 #include "auth/ntlm/auth_proto.h"
 #include "libcli/security/security.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 _PUBLIC_ NTSTATUS auth4_developer_init(TALLOC_CTX *);
 
 static NTSTATUS name_to_ntstatus_want_check(struct auth_method_context *ctx,
index d63a7d131a6cea4d15967f4ef7eb088c965eb106..fb88cb87f66801f38fa085c5bd0b60ab9f8135cd 100644 (file)
@@ -37,6 +37,9 @@
 #include "libcli/auth/libcli_auth.h"
 #include "libds/common/roles.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 NTSTATUS auth_sam_init(void);
 
 extern const char *user_attrs[];
index 9ac080a4817c43a0ea5b6f5320431e3984603f8b..7fbb1fe39743c5ba1e3c76a95ff4bf9d10670988 100644 (file)
@@ -20,6 +20,9 @@
 #include "includes.h"
 #include "auth/auth.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 NTSTATUS server_service_auth_init(TALLOC_CTX *ctx)
 {
        return auth4_init();
index d7811b9e5b215f86865505ca6efd4396cba7be42..273e48861250adc96c7d583f73bdb4bf35fd936a 100644 (file)
@@ -27,6 +27,9 @@
 #include "auth/auth.h"
 #include "dsdb/samdb/samdb.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 struct authenticate_ldap_simple_bind_state {
        bool using_tls;
        struct auth4_context *auth_context;
index c01ec35e14c60880bcedb57db8697cb3744c59d7..67cd5f3dc44c80a5e352f6707a0bb406e999fef8 100644 (file)
@@ -28,6 +28,9 @@
 #include "../libcli/auth/pam_errors.h"
 #include "param/param.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 _PUBLIC_ NTSTATUS auth4_unix_init(TALLOC_CTX *);
 
 /* TODO: look at how to best fill in parms retrieveing a struct passwd info
index 5084cc4a929b01ad6055ffafe84ebe2f4696eb99..af89130466b37dd123aba758e2b85d70699c24c9 100644 (file)
@@ -29,6 +29,9 @@
 #include "librpc/gen_ndr/drsuapi.h"
 #include "dsdb/samdb/samdb.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /* this default function can be used by mostly all backends
  * which don't want to set a challenge
  */
index a3efde8b99e4f7d40f27db2146ac5feedafdab8d..318675fa59b5dad2747f643aaf6b5da479368823 100644 (file)
@@ -35,6 +35,9 @@
 #include "dsdb/samdb/samdb.h"
 #include "auth/auth_sam.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 _PUBLIC_ NTSTATUS auth4_winbind_init(TALLOC_CTX *);
 
 static NTSTATUS winbind_want_check(struct auth_method_context *ctx,