Support client authentication using Winbind
authorSimo Sorce <simo@redhat.com>
Mon, 4 Aug 2014 22:06:58 +0000 (18:06 -0400)
committerSimo Sorce <simo@redhat.com>
Thu, 7 Aug 2014 16:44:46 +0000 (12:44 -0400)
commit5ac987ad3b18a551a86116791445824bbd82c4e2
treea41a841e2bcb096a62beec570c29cc78ae777551
parent78cb0a7bf31554d90eccfe626ba3e2b4c6b2893a
Support client authentication using Winbind

Based on a patch by David Woodhouse <David.Woodhouse@intel.com>
Original commit message:
    We need to screw around with the flags a little, since winbind doesn't
    really get it right. Thankfully, it doesn't support MIC and it does at
    least generally do the right thing (w.r.t. session negotiation and OEM
    vs. Unicode) so it's sufficient just to screw with the flags.

    Tested with Negotiate authentication to squid, and NTLM in datagram
    mode with pidgin-sipe. Also with Firefox, Chrome and a fixed libcurl.
src/external.c
src/gss_auth.c
src/gss_ntlmssp.h
src/gss_ntlmssp_winbind.h
src/gss_sec_ctx.c
src/winbind.c