summaryrefslogtreecommitdiff
path: root/tests/data/test827
Commit message (Collapse)AuthorAgeFilesLines
* ntlm: fix negotiated flags usagePatrick Monnerat2021-04-091-2/+2
| | | | | | | | | | | | | | | | | According to Microsoft document MS-NLMP, current flags usage is not accurate: flag NTLMFLAG_NEGOTIATE_NTLM2_KEY controls the use of extended security in an NTLM authentication message and NTLM version 2 cannot be negotiated within the protocol. The solution implemented here is: if the extended security flag is set, prefer using NTLM version 2 (as a server featuring extended security should also support version 2). If version 2 has been disabled at compile time, use extended security. Tests involving NTLM are adjusted to this new behavior. Fixes #6813 Closes #6849
* tests: use %TESTNUMBER instead of fixed numberDaniel Stenberg2021-03-191-2/+2
| | | | | | | This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
* tests: Change NTLM tests to require SSLJay Satiro2019-12-311-0/+1
| | | | | | | | | | | | | | | | | | Prior to this change tests that required NTLM feature did not require SSL feature. There are pending changes to cmake builds that will allow enabling NTLM in non-SSL builds in Windows. In that case the NTLM auth strings created are different from what is expected by the NTLM tests and they fail: "The issue with NTLM is that previous non-SSL builds would not enable NTLM and so the NTLM tests would be skipped." Assisted-by: marc-groundctl@users.noreply.github.com Ref: https://github.com/curl/curl/pull/4717#issuecomment-566218729 Closes https://github.com/curl/curl/pull/4768
* ntlm: update selection of type 3 responseMarkus Moeller2019-01-011-3/+3
| | | | | | | | | | | NTLM2 did not work i.e. no NTLMv2 response was created. Changing the check seems to work. Ref: https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-NLMP/[MS-NLMP].pdf Fixes https://github.com/curl/curl/issues/3286 Closes https://github.com/curl/curl/pull/3287 Closes https://github.com/curl/curl/pull/3415
* imap: change from "FETCH" to "UID FETCH"Nicklas Avén2018-09-061-1/+1
| | | | | | | | | | | | ... and add "MAILINDEX". As described in #2789, this is a suggested solution. Changing UID=xx to actually get mail with UID xx and add "MAILINDEX" to get a mail with a special index in the mail box (old behavior). So MAILINDEX=1 gives the first non deleted mail in the mail box. Fixes #2789 Closes #2815
* tests: updated for modified fake randomDaniel Stenberg2017-05-081-2/+2
|
* NTLM: set a fake entropy for debug builds with CURL_ENTROPY setDaniel Stenberg2014-06-111-2/+2
| | | | | | | | | | | | | | | | Curl_rand() will return a dummy and repatable random value for this case. Makes it possible to write test cases that verify output. Also, fake timestamp with CURL_FORCETIME set. Only when built debug enabled of course. Curl_ssl_random() was not used anymore so it has been removed. Curl_rand() is enough. create_digest_md5_message: generate base64 instead of hex string curl_sasl: also fix memory leaks in some OOM situations
* tests: Disabled NTLM tests for non-debug buildsSteve Holme2014-06-111-0/+1
| | | | | | Added required "debug" feature, missed in commit 1c9aaa0bac, as NTLMv2 calls Curl_rand() which can only be fixed to a specific entropy in debug builds.
* tests: Replaced email authentication keywords with SASL based keywordsSteve Holme2014-03-301-1/+1
| | | | | | As the email protocols implement SASL authentication rather than IMAP, POP3 and SMTP specific authentication, updated the authentication keywords to reflect this.
* tests: Added "SASL" authentication keywordSteve Holme2014-03-301-0/+1
|
* tests: made the SASL modes separate keywordsDan Fandrich2014-03-151-1/+2
|
* tests: Updated NTLM tests for NTLMv2 type-3 messageSteve Holme2014-01-301-2/+2
|
* tests: Disabled NTLM tests when running with SSPI enabledSteve Holme2013-12-281-0/+1
|
* tests: Added IMAP NTLM authentication with initial response testSteve Holme2013-11-131-0/+67