summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2017-11-11 23:43:03 +0100
committerMichael Brown2017-11-12 19:52:04 +0100
commitb5e0b5072317f11b27d2d813bd1c93788584a9f2 (patch)
treedad3a65ce4850ca6226cbb234a7fd2f0fd072e5a /src/config
parent[http] Handle parsing of WWW-Authenticate header within authentication scheme (diff)
downloadipxe-b5e0b5072317f11b27d2d813bd1c93788584a9f2.tar.gz
ipxe-b5e0b5072317f11b27d2d813bd1c93788584a9f2.tar.xz
ipxe-b5e0b5072317f11b27d2d813bd1c93788584a9f2.zip
[http] Add support for NTLM authentication
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_http.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
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 */