summaryrefslogtreecommitdiff
path: root/lib/http_ntlm.h
Commit message (Collapse)AuthorAgeFilesLines
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* copyright: make repository REUSE compliantmax.mehl2022-06-131-1/+3
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* lib: more conn->data cleanupsDaniel Stenberg2021-01-191-3/+3
| | | | Closes #6479
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* conncache: various concept cleanupsDaniel Stenberg2020-04-301-2/+4
| | | | | | | | | | | | | | | | More connection cache accesses are protected by locks. CONNCACHE_* is a beter prefix for the connection cache lock macros. Curl_attach_connnection: now called as soon as there's a connection struct available and before the connection is added to the connection cache. Curl_disconnect: now assumes that the connection is already removed from the connection cache. Ref: #4915 Closes #5009
* auth: Rename the various authentication clean up functionsSteve Holme2019-05-121-1/+1
| | | | | | For consistency and to a avoid confusion. Closes #3869
* http_ntlm: Corrected the name of the include guardSteve Holme2019-05-111-4/+4
| | | | | | Missed in f0bdd72c. Closes #3867
* http_ntlm: Renamed from curl_ntlm.[c|h]Steve Holme2016-03-271-0/+40
| | | | | | | | | | | Renamed the header and source files for this module as they are HTTP specific and as such, they should use the naming convention as other HTTP authentication source files do - this revert commit 260ee6b7bf. Note: We could also rename curl_ntlm_wb.[c|h], however, the Winbind code needs separating from the HTTP protocol and migrating into the vauth directory, thus adding support for Winbind to the SASL based protocols such as IMAP, POP3 and SMTP.
* NTLM: END of refactoring/splitting/movingYang Tse2011-08-281-42/+0
| | | | | | | | | | | | First: File curl_ntlm.h renamed curl_ntlm_msgs.h File curl_ntlm.c renamed curl_ntlm_msgs.c Afterwards: File http_ntlm.c renamed curl_ntlm.c File http_ntlm.h renamed curl_ntlm.h
* NTLM_WB: move NTLM_WB specifics into curl_ntlm_wb.[ch]Yang Tse2011-08-271-10/+6
|
* NTLM_WB: final congruency naming adjustmentsYang Tse2011-08-271-1/+1
| | | | | | | | | | | | | | Configure script option --enable-wb-ntlm-auth renamed to --enable-ntlm-wb Configure script option --disable-wb-ntlm-auth renamed to --disable-ntlm-wb Preprocessor symbol WINBIND_NTLM_AUTH_ENABLED renamed to NTLM_WB_ENABLED Preprocessor symbol WINBIND_NTLM_AUTH_FILE renamed to NTLM_WB_FILE Test harness env var CURL_NTLM_AUTH renamed to CURL_NTLM_WB_FILE Static function wb_ntlm_close renamed to ntlm_wb_cleanup Static function wb_ntlm_initiate renamed to ntlm_wb_init Static function wb_ntlm_response renamed to ntlm_wb_response
* NTLM single-sign on adjustments (X)Yang Tse2011-08-261-1/+1
| | | | | | | | | | | | | | Functions renamed: Curl_output_ntlm_sso -> Curl_output_ntlm_wb sso_ntlm_close -> wb_ntlm_close sso_ntlm_response -> wb_ntlm_response sso_ntlm_initiate -> wb_ntlm_initiate Preprocessor symbols renamed: CURLAUTH_NTLM_SSO -> CURLAUTH_NTLM_WB CURL_VERSION_NTLM_SSO -> CURL_VERSION_NTLM_WB
* http NTLM: change return type of Curl_input_ntlm() to CURLcodeYang Tse2011-08-131-10/+1
| | | | Remove CURLntlm enum, no longer required.
* http NTLM: fix inclusion of curl_ntlm.hYang Tse2011-08-121-1/+1
|
* http NTLM: move portions of http_ntlm.h into new curl_ntlm.hSteve Holme2011-08-121-106/+1
|
* http NTLM: more adjustments in preparation of code refactoringYang Tse2011-08-121-0/+3
| | | | | | | | | | Use preprocessor symbol NTLM_BUFSIZE to define private NTLM buffer fixed size. Use a SessionHandle 'data' pointer variable to ease refactoring. Update NTLM type-* message structure descriptions. Fix some more spacing and typos (Steve Holme).
* http NTLM: Further tiding up to libcurl standardsYang Tse2011-08-091-0/+4
|
* http NTLM: Tidied up http_ntlm prior to splitting the ntlm specific codeSteve Holme2011-08-091-4/+1
|
* NTLM single-sign on adjustments (VIII)Yang Tse2011-07-311-5/+6
| | | | | | | | | | | | Use preprocessor symbols WINBIND_NTLM_AUTH_ENABLED and WINBIND_NTLM_AUTH_FILE for Samba's winbind daemon ntlm_auth helper code implementation and filename. Retain preprocessor symbol USE_NTLM_SSO for NTLM single-sign-on feature availability implementation independent. For test harness, prefix NTLM_AUTH environment vars with CURL_ Refactor and rename configure option --with-ntlm-auth to --enable-wb-ntlm-auth[=FILE]
* NTLM single-sign on supportedMandy Wu2011-07-181-1/+7
| | | | With the use of the 'ntlm_auth' tool from the Samba project
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Indentation fixes, untabify and related whitespace-cleanup. No code changed.Daniel Stenberg2009-02-271-1/+1
|
* Introduced curl_sspi.c and curl_sspi.h for the implementation of functionsYang Tse2009-01-291-6/+1
| | | | | | | 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.
* fix compiler warning: function declaration isn't a prototypeYang Tse2008-09-301-2/+2
|
* - Constantine Sapuntzakis filed bug report #2042430Daniel Stenberg2008-08-111-1/+5
| | | | | | | (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.
* Fixed some minor type mismatches and missing consts mainly found by splint.Dan Fandrich2007-08-271-1/+2
|
* Update NTLM flag and descriptionYang Tse2007-04-101-3/+7
|
* only enable NTLM if HTTP and NTLM is not disabled, and if NTLM is disabledDaniel Stenberg2005-11-231-2/+1
| | | | we define an empty macro for the ntlm cleanup function
* disabling HTTP should also nullify this function callDaniel Stenberg2005-07-271-1/+2
|
* GnuTLS support added. There's now a "generic" SSL layer that we use all overDaniel Stenberg2005-04-071-0/+3
| | | | | | | | | | | | internally, with code provided by sslgen.c. All SSL-layer-specific code is then written in ssluse.c (for OpenSSL) and gtls.c (for GnuTLS). As far as possible, internals should not need to know what SSL layer that is in use. Building with GnuTLS currently makes two test cases fail. TODO.gnutls contains a few known outstanding issues for the GnuTLS support. GnuTLS support is enabled with configure --with-gnutls
* Christopher R. Palmer made it possible to build libcurl with theDaniel Stenberg2005-03-101-7/+7
| | | | | | USE_WINDOWS_SSPI on Windows, and then libcurl will be built to use the native way to do NTLM. SSPI also allows libcurl to pass on the current user and its password in the request.
* 'authdone' was added to the sessionhandle and thus was removed from theDaniel Stenberg2004-03-301-1/+1
| | | | argument to the NTLM function(s)
* updated year in the copyright stringDaniel Stenberg2004-01-071-1/+1
|
* When we issue a HTTP request, first make sure if the authentication phaseDaniel Stenberg2003-09-151-1/+1
| | | | | | is over or not, as if it isn't we shall not begin any PUT or POST operation. This cures bug report #805853, and test case 88 verifies it!
* The NTLM functions now take a 'proxy' argument as well.Daniel Stenberg2003-07-221-1/+1
|
* moved the proxyuser and proxypasswd fields from the sessionhandle to theDaniel Stenberg2003-07-211-1/+1
| | | | connectdata to work as expected
* added ntlm flag bitsDaniel Stenberg2003-06-261-17/+93
|
* Initial take at NTLM authentication. It doesn't really work at this pointDaniel Stenberg2003-06-111-0/+67
but the infrastructure is there.