summaryrefslogtreecommitdiff
path: root/sys/include/auth.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-05-20 22:49:24 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-05-20 22:49:24 +0200
commit6e19d19285dddcd3c8f2a6b031fc0f0324b3e48b (patch)
treeed9d6c1d7cf83555a498b01563a24284cb20b2d5 /sys/include/auth.h
parent40f6e00b9c4b0f5bdca1cc7caf27af23a6b10786 (diff)
separate MSCHAP(v2) and NTLM(v2) authentication
due to linux omiting the final Z(4) in the NTLMv2 reply, and the need for the windom for LMv2 authentication, here is a new AuthNTLM ticket request now with length and dom fields.
Diffstat (limited to 'sys/include/auth.h')
-rw-r--r--sys/include/auth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/auth.h b/sys/include/auth.h
index d7f58035e..8b350a64c 100644
--- a/sys/include/auth.h
+++ b/sys/include/auth.h
@@ -53,6 +53,7 @@ struct AuthInfo
struct Chalstate
{
char *user;
+ char *dom;
char chal[MAXCHLEN];
int nchal;
void *resp;
@@ -71,7 +72,7 @@ struct Chapreply /* for protocol "chap" */
char resp[MD5LEN];
};
-struct MSchapreply /* for protocol "mschap" */
+struct MSchapreply /* for protocol "mschap" and "ntlm" */
{
char LMresp[24]; /* Lan Manager response */
char NTresp[24]; /* NT response */