]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Joao Alves Neto <alves_joao@hotmail.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 30 May 2009 04:10:35 +0000 (16:10 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 30 May 2009 04:10:35 +0000 (16:10 +1200)
Make fakeauth handle NTLMv2 better

NTLMv2 requires challenge flags to be a mirror of those received.

helpers/ntlm_auth/fakeauth/fakeauth_auth.c
test-suite/buildtests/layer-00-default.opts
test-suite/buildtests/layer-02-maximus.opts

index 10d66171a1f63af096c95d1e0fd5304389bf35ed..cead8c191fbfe2e60e641032d44aa9e53ae922ad 100644 (file)
@@ -155,6 +155,7 @@ ntlmMakeChallenge(struct ntlm_challenge *chal, int32_t flags)
                           (NEGOTIATE_UNICODE & flags ? NEGOTIATE_UNICODE : NEGOTIATE_ASCII)
                          );
     chal->hdr.type = htole32(NTLM_CHALLENGE);
+    chal->flags = flags;
     chal->unknown[6] = htole16(0x003a);
 
     d = (char *) chal + 48;
index 5f4d232ef09ffc9c09a606979947b48722056d96..8a820f7d8a30cbb05f88423c58b0485a8159eafb 100644 (file)
@@ -2,4 +2,4 @@
 # Default configuration options.
 #  - Nothing special configured. Just whatever is found by "./configure"
 #
-OPTS=""
+OPTS=" --disable-loadable-modules "
index 559ad6a2ec8a3a1cd815527cf2f8c7cb5c23ceb7..a22ac8231b3f78b3ef8f71d947dc2eebf20da21c 100644 (file)
@@ -36,7 +36,7 @@
 #
 #
 OPTS=" \
-       --enable-loadable-modules \
+       --disable-loadable-modules \
        --enable-gnuregex \
        --enable-optimizations \
        --enable-inline \