History log of /curl/lib/http_ntlm.c (Results 76 – 100 of 161)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: curl-7_21_5, curl-7_21_4, curl-7_21_3, curl-7_21_2, curl-7_21_1
# b5c3feda 29-Jul-2010 Kamil Dudka

NTLM tests: boost coverage by forcing the hostname

A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM
test-cases to override the system implementation of gethostname

NTLM tests: boost coverage by forcing the hostname

A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM
test-cases to override the system implementation of gethostname(). It
makes it possible to test the NTLM authentication for exact match, and
this way test the implementation of MD4 and DES.

If LD_PRELOAD doesn't work, a debug build willl also workk as debug
builds are now made to prefer a specific environment variable and will
then return that content as host name instead of the actual one.

Kamil wrote the bulk of this, Daniel Stenberg polished it.

show more ...


# f3b77e56 27-Jun-2010 Kamil Dudka

http_ntlm: add support for NSS

When configured with '--without-ssl --with-nss', NTLM authentication
now uses NSS crypto library for MD5 and DES. For MD4 we have a local
implementati

http_ntlm: add support for NSS

When configured with '--without-ssl --with-nss', NTLM authentication
now uses NSS crypto library for MD5 and DES. For MD4 we have a local
implementation in that case. More details are available at
https://bugzilla.redhat.com/603783

In order to get it working, curl_global_init() must be called with
CURL_GLOBAL_SSL or CURL_GLOBAL_ALL. That's necessary because NSS needs
to be initialized globally and we do so only when the NSS library is
actually required by protocol. The mentioned call of curl_global_init()
is responsible for creating of the initialization mutex.

There was also slightly changed the NSS initialization scenario, in
particular, loading of the NSS PEM module. It used to be loaded always
right after the NSS library was initialized. Now the library is
initialized as soon as any SSL or NTLM is required, while the PEM module
is prevented from being loaded until the SSL is actually required.

show more ...


Revision tags: curl-7_21_0, curl-7_20_1
# 2309b4e3 24-Mar-2010 Daniel Stenberg

remove the CVSish $Id$ lines


# c7e647b8 11-Mar-2010 Dan Fandrich

Allow compilation even when OpenSSL has been configured without MD4 support.


Revision tags: curl-7_20_0
# de2cc11a 24-Jan-2010 Daniel Stenberg

Julien Chaffraix corrected bad #elif lines to silence warnings


Revision tags: curl-7_19_7, curl-7_19_6, curl-7_19_5
# 33a3753c 21-Apr-2009 Yang Tse

libcurl's memory.h renamed to curl_memory.h


# 94bb7fe5 05-Mar-2009 Yang Tse

Fix NTLM authentication memory leak on SSPI enabled Windows builds


Revision tags: curl-7_19_4
# 794b4da8 27-Feb-2009 Daniel Stenberg

Indentation fixes, untabify and related whitespace-cleanup. No code changed.


# 9a4c887c 12-Feb-2009 Dan Fandrich

Added support for Digest and NTLM authentication using GnuTLS.


# 99b49126 30-Jan-2009 Yang Tse

ensure that we use the ANSI version functions


# e813bf31 29-Jan-2009 Yang Tse

Introduced curl_sspi.c and curl_sspi.h for the implementation of functions
Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
named Curl_ntlm_global_init() and Curl_

Introduced curl_sspi.c and curl_sspi.h for the implementation of functions
Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c
Also adjusted socks_sspi.c to remove the link-time dependency on the Windows
SSPI library using it now in the same way as it was done in http_ntlm.c.

show more ...


# 55915501 21-Jan-2009 Dan Fandrich

Fixed a couple more locale-dependent toupper conversions, mainly for
clarity. This does fix one problem that causes ;type=i FTP URLs
to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER

Fixed a couple more locale-dependent toupper conversions, mainly for
clarity. This does fix one problem that causes ;type=i FTP URLs
to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is
used (test case 561)

Added tests 561 and 1092 through 1094 to test various combinations
of ;type= and ;mode= URLs that could potentially fail in the Turkish
locale.

show more ...


Revision tags: curl-7_19_3, curl-7_19_2, curl-7_19_1
# b701ea36 23-Oct-2008 Daniel Stenberg

moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
inclusion by the curl tool without colliding with the curl_strequal functions.


# 2d77f7cd 30-Sep-2008 Yang Tse

fix compiler warning: function declaration isn't a prototype


# 934708d9 02-Sep-2008 Dan Fandrich

Made some variables const which eliminated some casts


Revision tags: curl-7_19_0
# 3e61c90d 17-Aug-2008 Yang Tse

Adjust usage of conditional definition of USE_OPENSSL


# ac18b471 17-Aug-2008 Yang Tse

libcurl internal base64.h header file renamed to curl_base64.h


# f8a3aa91 11-Aug-2008 Daniel Stenberg

- Constantine Sapuntzakis filed bug report #2042430
(http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows
SSPI code is not thread safe". This was due to libcurl using

- Constantine Sapuntzakis filed bug report #2042430
(http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows
SSPI code is not thread safe". This was due to libcurl using static
variables to tell wether to load the necessary SSPI DLL, but now the loading
has been moved to the more suitable curl_global_init() call.

show more ...


Revision tags: curl-7_18_2, curl-7_18_1, curl-7_18_0
# ad6e2807 05-Nov-2007 Daniel Stenberg

removed space after if and while before the parenthesis for better source code
consistency


Revision tags: curl-7_17_1
# 16b95fc7 27-Sep-2007 Dan Fandrich

Enabled a few more gcc warnings with --enable-debug. Renamed a few
variables to avoid shadowing global declarations.


Revision tags: curl-7_17_0
# 8cf0814a 27-Aug-2007 Dan Fandrich

Fixed some minor type mismatches and missing consts mainly found by splint.


# 2f8f12e8 14-Aug-2007 Daniel Stenberg

Andrew Wansink provided an NTLM bugfix: in the case the server sets the flag
NTLMFLAG_NEGOTIATE_UNICODE, we need to filter it off because libcurl doesn't
unicode encode the strings it packs i

Andrew Wansink provided an NTLM bugfix: in the case the server sets the flag
NTLMFLAG_NEGOTIATE_UNICODE, we need to filter it off because libcurl doesn't
unicode encode the strings it packs into the NTLM authenticate packet.

show more ...


Revision tags: curl-7_17_0-preldapfix
# 2a1345ae 11-Jul-2007 Gunter Knauf

added netdb.h for NetWare CLIB since gethostname() is defined there.


Revision tags: curl-7_16_4, curl-7_16_3, curl-7_16_2
# d46d9957 10-Apr-2007 Dan Fandrich

Fixed some out of memory handling issues.


# 5be7b543 10-Apr-2007 Yang Tse

Update NTLM flag and description


1234567