summaryrefslogtreecommitdiff
path: root/source4/auth/ntlm
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-05-21 13:51:16 +1200
committerJeremy Allison <jra@samba.org>2018-05-21 23:48:18 +0200
commite1ede0b1ffd128707bb4b5ae271c82cb8e2de26c (patch)
tree4248d6c84cf00b0d60fc94db92bbb9c0b69e823d /source4/auth/ntlm
parentf93cc232377d4c686ac35ee5e14e798974bc0700 (diff)
downloadsamba-e1ede0b1ffd128707bb4b5ae271c82cb8e2de26c.tar.gz
auth: Use DBGC_AUTH as DBGC_CLASS for AD DC NTLM auth code.
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/auth/ntlm')
-rw-r--r--source4/auth/ntlm/auth.c3
-rw-r--r--source4/auth/ntlm/auth_anonymous.c3
-rw-r--r--source4/auth/ntlm/auth_developer.c3
-rw-r--r--source4/auth/ntlm/auth_sam.c3
-rw-r--r--source4/auth/ntlm/auth_server_service.c3
-rw-r--r--source4/auth/ntlm/auth_simple.c3
-rw-r--r--source4/auth/ntlm/auth_unix.c3
-rw-r--r--source4/auth/ntlm/auth_util.c3
-rw-r--r--source4/auth/ntlm/auth_winbind.c3
9 files changed, 27 insertions, 0 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index 1293b287e18..e560116b941 100644
--- a/source4/auth/ntlm/auth.c
+++ b/source4/auth/ntlm/auth.c
@@ -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,
diff --git a/source4/auth/ntlm/auth_anonymous.c b/source4/auth/ntlm/auth_anonymous.c
index e8a9ed3b225..83aeb431f5f 100644
--- a/source4/auth/ntlm/auth_anonymous.c
+++ b/source4/auth/ntlm/auth_anonymous.c
@@ -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 *);
/**
diff --git a/source4/auth/ntlm/auth_developer.c b/source4/auth/ntlm/auth_developer.c
index 870357795f6..b655283975b 100644
--- a/source4/auth/ntlm/auth_developer.c
+++ b/source4/auth/ntlm/auth_developer.c
@@ -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,
diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c
index d63a7d131a6..fb88cb87f66 100644
--- a/source4/auth/ntlm/auth_sam.c
+++ b/source4/auth/ntlm/auth_sam.c
@@ -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[];
diff --git a/source4/auth/ntlm/auth_server_service.c b/source4/auth/ntlm/auth_server_service.c
index 9ac080a4817..7fbb1fe3974 100644
--- a/source4/auth/ntlm/auth_server_service.c
+++ b/source4/auth/ntlm/auth_server_service.c
@@ -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();
diff --git a/source4/auth/ntlm/auth_simple.c b/source4/auth/ntlm/auth_simple.c
index d7811b9e5b2..273e4886125 100644
--- a/source4/auth/ntlm/auth_simple.c
+++ b/source4/auth/ntlm/auth_simple.c
@@ -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;
diff --git a/source4/auth/ntlm/auth_unix.c b/source4/auth/ntlm/auth_unix.c
index c01ec35e14c..67cd5f3dc44 100644
--- a/source4/auth/ntlm/auth_unix.c
+++ b/source4/auth/ntlm/auth_unix.c
@@ -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
diff --git a/source4/auth/ntlm/auth_util.c b/source4/auth/ntlm/auth_util.c
index 5084cc4a929..af89130466b 100644
--- a/source4/auth/ntlm/auth_util.c
+++ b/source4/auth/ntlm/auth_util.c
@@ -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
*/
diff --git a/source4/auth/ntlm/auth_winbind.c b/source4/auth/ntlm/auth_winbind.c
index a3efde8b99e..318675fa59b 100644
--- a/source4/auth/ntlm/auth_winbind.c
+++ b/source4/auth/ntlm/auth_winbind.c
@@ -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,