cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 0/6] Fix SPNEGO to work comprehensively throughout curl

From: Michael Osipov <1983-01-06_at_gmx.net>
Date: Thu, 17 Jul 2014 15:47:23 +0200

This patched is made on top of the recent work of David Woodhouse.
It consequently fixed macros, options and switches, as well as
names. Patch has been already approved by David.

fbopenssl is finally gone. One dependency less.
What is left? Documentation has to be updated to reflect those changes.
That will be done in another patch set for the next release.

Since this is a bigger change, I would bump to 7.38.0 from 7.37.1.

GitHub diff: https://github.com/michael-o/curl/compare/1abc42b26c...6627a9b435

Testing:

Extensive tests have been made (logs are available on request privately):

Environment:
  - Corporate with a multi-realm setup
  - With filled credential cache, no credential cache and expired one (last two
    not on Windows because it is not that easy to achive that)

Clients:
  - Windows 7 64 bit (SSPI)
  - RHEL 6 (MIT Kerberos 1.10.3)
  - FreeBSD 9.2 (MIT Kerberos 1.12.1)
  - HP-UX 11.31 (MIT Kerberos 1.12.1)

Servers:
  - Apache 2.2.27 on FreeBSD with mod_spnego (MIT Kerberos 1.12.1)
  - Apache Tomcat 6 on HP-UX (JGSS 7)
  - Microsoft IIS 7.5 on Windows Server (SSPI)
  - Microsoft TMG (Proxy) on Windows Server (SSPI)

Michael Osipov (6):
  Add macros for common GSS-API mechs and pass them appropriately
  Remove checkprefix("GSS-Negotiate")
  Add feature and version info for GSS-API (like with SSPI)
  Deprecate GSS-Negotiate related macros due to bad naming
  HTTP Negotiate auth opts trigger a warning if GSS-API/SSPI isn't
    available
  Improve inline GSS-API naming in code documentation

 configure.ac | 17 ++++++++++----
 include/curl/curl.h | 15 ++++++++----
 lib/curl_gssapi.c | 20 ++++++++--------
 lib/curl_gssapi.h | 18 +++++++++++----
 lib/curl_setup.h | 2 ++
 lib/http.c | 19 ++++++++--------
 lib/http_negotiate.c | 45 ++++--------------------------------
 lib/http_negotiate_sspi.c | 45 ++++--------------------------------
 lib/krb5.c | 2 +-
 lib/socks.c | 8 +++----
 lib/socks.h | 2 +-
 lib/socks_gssapi.c | 58 +++++++++++++++++++++++------------------------
 lib/socks_sspi.c | 20 ++++++++--------
 lib/url.c | 14 ++++++------
 lib/urldata.h | 8 +++----
 lib/version.c | 9 +++++---
 src/tool_getparam.c | 12 +++++-----
 src/tool_help.c | 12 ++++++----
 18 files changed, 139 insertions(+), 187 deletions(-)

-- 
2.0.0
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-17