diff options
author | Simo Sorce <simo@redhat.com> | 2015-05-25 17:04:08 +0200 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-06-03 18:06:30 -0400 |
commit | 06e34da63c402cec34af5c3ada19ee0a97aa74e2 (patch) | |
tree | e3c0e1e0347206513d77a191068af08dd1f45037 /src/mod_auth_gssapi.h | |
parent | a2c2a02edaadda09408708cf9d7b57aa59ae4b39 (diff) | |
download | mod_auth_gssapi-06e34da63c402cec34af5c3ada19ee0a97aa74e2.tar.gz mod_auth_gssapi-06e34da63c402cec34af5c3ada19ee0a97aa74e2.tar.xz mod_auth_gssapi-06e34da63c402cec34af5c3ada19ee0a97aa74e2.zip |
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
Diffstat (limited to 'src/mod_auth_gssapi.h')
-rw-r--r-- | src/mod_auth_gssapi.h | 4 |
1 files changed, 3 insertions, 1 deletions
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))) |