define DBGC_AUTH class
authorkkplein <heupink@merit.unu.edu>
Tue, 19 Dec 2017 09:49:10 +0000 (10:49 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Jan 2018 02:34:17 +0000 (03:34 +0100)
Signed-off-by: Mourik Jan C Heupink <heupink@merit.unu.edu>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
19 files changed:
auth/credentials/credentials_krb5.c
auth/credentials/credentials_ntlm.c
auth/credentials/credentials_secrets.c
auth/gensec/external.c
auth/gensec/gensec.c
auth/gensec/gensec_start.c
auth/gensec/gensec_util.c
auth/gensec/ncalrpc.c
auth/gensec/schannel.c
auth/gensec/spnego.c
auth/kerberos/gssapi_helper.c
auth/kerberos/gssapi_pac.c
auth/kerberos/kerberos_pac.c
auth/ntlmssp/gensec_ntlmssp_server.c
auth/ntlmssp/ntlmssp.c
auth/ntlmssp/ntlmssp_client.c
auth/ntlmssp/ntlmssp_server.c
auth/ntlmssp/ntlmssp_sign.c
auth/ntlmssp/ntlmssp_util.c

index 585203a640d321d6cdf4838c5f8a3479dcb96576..9da1aa09250db7b9e8201aab3306d153b7ef655c 100644 (file)
@@ -35,6 +35,9 @@
 #include "auth/kerberos/pac_utils.h"
 #include "param/param.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 static void cli_credentials_invalidate_client_gss_creds(
                                        struct cli_credentials *cred,
                                        enum credentials_obtained obtained);
index e6859bf9c450add0640c5d1f452ad82d2429e379..eed8924567a214c338076f055080cf571a835c66 100644 (file)
@@ -28,6 +28,9 @@
 #include "auth/credentials/credentials.h"
 #include "auth/credentials/credentials_internal.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 _PUBLIC_ NTSTATUS cli_credentials_get_ntlm_response(struct cli_credentials *cred, TALLOC_CTX *mem_ctx, 
                                           int *flags,
                                           DATA_BLOB challenge,
index ed148fd356686f13cd2041d1dd80521c75a8ceb9..beb292848adbd33c1e052d9ded19515cbc851c17 100644 (file)
@@ -41,6 +41,9 @@
 #include "lib/util/util_tdb.h"
 #include "libds/common/roles.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /**
  * Fill in credentials for the machine trust account, from the secrets database.
  *
index 01580456794175722ddfe5fe38646e67e6afbdea..300ce6b5cb3e446ea7e28a0d0bc1d26637b0d019 100644 (file)
@@ -28,6 +28,9 @@
 #include "auth/gensec/gensec_proto.h"
 #include "auth/gensec/gensec_toplevel_proto.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /* SASL/EXTERNAL is essentially a no-op; it is only usable when the transport
  * layer is already mutually authenticated.
  */
index 61bff225450761af4b112dcced5b038005523b08..e021d0ce3fe68fb9fa3ce6b78229b6e0ee094829 100644 (file)
@@ -31,6 +31,9 @@
 #include "librpc/gen_ndr/dcerpc.h"
 #include "auth/common_auth.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 _PRIVATE_ NTSTATUS gensec_may_reset_crypto(struct gensec_security *gensec_security,
                                           bool full_reset)
 {
index 42766200a5930497dd111252b9fbc4b6ecb3f431..50f4de731100851dbb1c7b1747846d42332a503d 100644 (file)
@@ -33,6 +33,9 @@
 #include "lib/util/samba_modules.h"
 #include "lib/util/base64.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /* the list of currently registered GENSEC backends */
 static const struct gensec_security_ops **generic_security_ops;
 static int gensec_num_backends;
index ca5e581f63f930922ff41874f03260ba99175f27..20c9c2a1fbb745a02b11506202f637d9f53ef686 100644 (file)
@@ -26,6 +26,9 @@
 #include "auth/common_auth.h"
 #include "../lib/util/asn1.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 NTSTATUS gensec_generate_session_info_pac(TALLOC_CTX *mem_ctx,
                                          struct gensec_security *gensec_security,
                                          struct smb_krb5_context *smb_krb5_context,
index 70b3bb5ea39d8cff84ac8f546a2d9b190a697f62..7474b6aff9b3f971db5b166604517ade650eb279 100644 (file)
@@ -30,6 +30,9 @@
 #include "lib/param/param.h"
 #include "tsocket.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 _PUBLIC_ NTSTATUS gensec_ncalrpc_as_system_init(TALLOC_CTX *ctx);
 
 struct gensec_ncalrpc_state {
index 8e58e73cacde84984a036751fd9d1c7ceab175c9..71e9afdf48ee89d22af0ad6b2703a670f49d709e 100644 (file)
@@ -36,6 +36,9 @@
 #include "lib/crypto/crypto.h"
 #include "libds/common/roles.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 struct schannel_state {
        struct gensec_security *gensec;
        uint64_t seq_num;
index 9857e78184b3fd21baf42bd7534077459a14a257..56f9be412abab1f2a3ffc9e4dd8d77240d6dedd9 100644 (file)
@@ -34,6 +34,9 @@
 #include "lib/util/asn1.h"
 #include "lib/util/base64.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 #undef strcasecmp
 
 _PUBLIC_ NTSTATUS gensec_spnego_init(TALLOC_CTX *ctx);
index b7ffb6ca9ff0ad21ab86b9acab611c7b9dd5d9a6..52c953c07ab835ad4273b510e5c283bc580df319 100644 (file)
@@ -23,6 +23,9 @@
 #include "auth/kerberos/pac_utils.h"
 #include "auth/kerberos/gssapi_helper.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 size_t gssapi_get_sig_size(gss_ctx_id_t gssapi_context,
                           const gss_OID mech,
                           uint32_t gss_want_flags,
index 253976aecdf2bfeed70b0d108031a063d0695c6d..b695671c95fd4853a046b1bc63f4dc95373ec7cf 100644 (file)
 */
 
 #include "includes.h"
+
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 #ifdef HAVE_KRB5
 
 #include "auth/kerberos/pac_utils.h"
index 7b6efdc8db019d54789a75a5415c844bd33d6c82..0ab0e9a45949ebd50afafedca247328cf9c46705 100644 (file)
 */
 
 #include "includes.h"
+
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 #ifdef HAVE_KRB5
 
 #include "librpc/gen_ndr/ndr_krb5pac.h"
index 561c7cff5bd3b83177548734d47e687bbb055cb8..c0e6cff595280b45b7df7fa79d76ccdcdea25680 100644 (file)
@@ -37,6 +37,9 @@
 #include "param/loadparm.h"
 #include "libds/common/roles.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /**
  * Return the credentials of a logged on user, including session keys
  * etc.
index 36e7052793f6fe6a7f3a233c9af6fbcf970247a2..37434fbb0c2242073cb44111bf4f9a0ed61081bb 100644 (file)
@@ -33,6 +33,9 @@ struct auth_session_info;
 #include "auth/gensec/gensec.h"
 #include "auth/gensec/gensec_internal.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /**
  * Callbacks for NTLMSSP - for both client and server operating modes
  *
index 5edd5f4fce64cd6f40d1d2c1a295640c1304b020..db2003f0d6bf9e728de5f5b04fc9358f6abb7725 100644 (file)
@@ -36,6 +36,9 @@ struct auth_session_info;
 #include "../auth/ntlmssp/ntlmssp_ndr.h"
 #include "../nsswitch/libwbclient/wbclient.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /*********************************************************************
  Client side NTLMSSP
 *********************************************************************/
index 417352bf25996dfe105dcabe37eedcccb2ad31c5..37ed2bc956516374b4eb601a433320fc80778ccc 100644 (file)
@@ -37,6 +37,9 @@
 #include "param/loadparm.h"
 #include "libcli/security/session.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 /**
  * Determine correct target name flags for reply, given server role
  * and negotiated flags
index ad0f9e96d32104300243367fca09bdd07acef82b..09b7e5ab923447e9763d43189688e6d22fe9b5b9 100644 (file)
@@ -26,6 +26,9 @@
 #include "../lib/crypto/crc32.h"
 #include "../auth/ntlmssp/ntlmssp_private.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 #define CLI_SIGN "session key to client-to-server signing key magic constant"
 #define CLI_SEAL "session key to client-to-server sealing key magic constant"
 #define SRV_SIGN "session key to server-to-client signing key magic constant"
index 9c7325a23e0c6adce6a61ff9d8b4c0567644f2ba..6f3b474fd713d2be213acc8c93201d9dd4b3de0e 100644 (file)
@@ -25,6 +25,9 @@
 #include "../auth/ntlmssp/ntlmssp.h"
 #include "../auth/ntlmssp/ntlmssp_private.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_AUTH
+
 static void debug_ntlmssp_flags_raw(int level, uint32_t flags)
 {
 #define _PRINT_FLAG_LINE(v) do { \