From 06e34da63c402cec34af5c3ada19ee0a97aa74e2 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 25 May 2015 17:04:08 +0200 Subject: Allow raw NTLM authentication Some clients may decide to use raw NTLM authentication instead of wrapping it into a Negotiate (SPNEGO) authentication request. If the NTLMSSP mechanism is allowed/supported then allow this request to be processed. Closes #23 --- src/mod_auth_gssapi.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mod_auth_gssapi.h') diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index 2d8ffff..103ec61 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -66,5 +66,7 @@ struct mag_conn { const char *user_name; const char *gss_name; time_t expiration; - const char *auth_type; + int auth_type; }; + +#define discard_const(ptr) ((void *)((uintptr_t)(ptr))) -- cgit