diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-06-11 13:44:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-06-11 13:44:31 +0000 |
commit | fb6a51b8fd715db2987c00f87cc1ac1aca535fee (patch) | |
tree | 482ef4eeb766c4e6cd415dcba5231aefb891fd52 | |
parent | 252cc2213eb7ab011d98bf4d664e6f6a51037a89 (diff) |
basic NTLM support
-rw-r--r-- | tests/server/sws.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c index 1223e0158..07b37a25f 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -297,6 +297,14 @@ static int get_request(int sock, int *part) Digest stuff to work in the test suite. */ *part = 1000; } + else if(strstr(reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) { + /* If the client is passing this type-3 NTLM header */ + *part = 1002; + } + else if(strstr(reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) { + /* If the client is passing this type-1 NTLM header */ + *part = 1001; + } } else { if(sscanf(reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", |