1. 15 Oct, 2011 1 commit
  2. 14 Oct, 2011 4 commits
  3. 13 Oct, 2011 4 commits
  4. 12 Oct, 2011 2 commits
  5. 11 Oct, 2011 1 commit
  6. 10 Oct, 2011 1 commit
  7. 09 Oct, 2011 1 commit
  8. 07 Oct, 2011 2 commits
  9. 06 Oct, 2011 4 commits
  10. 05 Oct, 2011 8 commits
  11. 04 Oct, 2011 5 commits
  12. 03 Oct, 2011 7 commits
    • Daniel Stenberg's avatar
      codepolicing · bc007d8e
      Daniel Stenberg authored
      bc007d8e
    • Daniel Stenberg's avatar
      sspi build fix · d0dbd1e9
      Daniel Stenberg authored
      define away Curl_ntlm_sspi_cleanup() when no windows SSPI build
      d0dbd1e9
    • Steve Holme's avatar
      smtp: Added support for NTLM authentication · 4d327d20
      Steve Holme authored
      Modified smtp_endofresp() to detect NTLM from the server specified list
      of supported authentication mechanisms.
      
      Modified smtp_authenticate() to start the sending of the NTLM data.
      
      Added smtp_auth_ntlm_type1_message() which creates a NTLM type-1
      message. This function is used by authenticate() to start the sending
      of data and by smtp_state_auth_ntlm_resp() when the AUTH command
      doesn't contain the type-1 message as part of the initial response.
      This lack of initial response can happen if an OOM error occurs or the
      type-1 message is longer than 504 characters. As the main AUTH command
      is limited to 512 character the data has to be transmitted in two
      parts; one containing the AUTH NTLM and the second containing the
      type-1 message.
      
      Added smtp_state_auth_ntlm_type2msg_resp() which handles the incoming
      type-2 message and sends an outgoing type-3 message. This type-2
      message is sent by the server in response to our type-1 message.
      
      Modified smtp_state_auth_resp() to handle the response to: the AUTH
      NTLM without the initial response and the type-2 response.
      
      Modified smtp_disconnect() to cleanup the NTLM SSPI stack.
      4d327d20
    • Steve Holme's avatar
      Curl_ntlm_create_typeX_message: Added the outlen parameter · 185ed340
      Steve Holme authored
      Added the output message length as a parameter to both
      Curl_ntlm_create_type1_message() and Curl_ntlm_create_type3_message()
      for use by future functions that require it.
      
      Updated curl_ntlm.c to cater for the extra parameter on these two
      functions.
      185ed340
    • Steve Holme's avatar
      smtp: General tidy up ready for adding NTLM support · d54bceba
      Steve Holme authored
      Changed the name of variable l, in several functions, which represents
      the length of strings being sent to the server, to len which is more
      meaningful and consistent with other code in smtp.c and elsewhere.
      
      Reworked smtp_authenticate() to be simpler and easier to follow.
      Variables and now initialised in their definitions and if no username
      and password are specified the function sets the state to SMTP_STOP and
      returns immediately, rather than being part of a huge if statement.
      d54bceba
    • Yang Tse's avatar
      0435800f
    • Steve Holme's avatar
      smtp_mail: fixed another memory leak · 56ed07f7
      Steve Holme authored
      ... introduced in 7f304ab8
      56ed07f7