From b5e0b5072317f11b27d2d813bd1c93788584a9f2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 11 Nov 2017 22:43:03 +0000 Subject: [http] Add support for NTLM authentication Signed-off-by: Michael Brown --- src/config/config_http.c | 3 +++ src/config/general.h | 1 + 2 files changed, 4 insertions(+) (limited to 'src/config') diff --git a/src/config/config_http.c b/src/config/config_http.c index 3c0e7802..4373ea2c 100644 --- a/src/config/config_http.c +++ b/src/config/config_http.c @@ -40,6 +40,9 @@ REQUIRE_OBJECT ( httpbasic ); #ifdef HTTP_AUTH_DIGEST REQUIRE_OBJECT ( httpdigest ); #endif +#ifdef HTTP_AUTH_NTLM +REQUIRE_OBJECT ( httpntlm ); +#endif #ifdef HTTP_ENC_PEERDIST REQUIRE_OBJECT ( peerdist ); #endif diff --git a/src/config/general.h b/src/config/general.h index e06db525..3c14a2cd 100644 --- a/src/config/general.h +++ b/src/config/general.h @@ -77,6 +77,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); */ #define HTTP_AUTH_BASIC /* Basic authentication */ #define HTTP_AUTH_DIGEST /* Digest authentication */ +//#define HTTP_AUTH_NTLM /* NTLM authentication */ //#define HTTP_ENC_PEERDIST /* PeerDist content encoding */ //#define HTTP_HACK_GCE /* Google Compute Engine hacks */ -- cgit v1.2.3-55-g7522