certificate: switch from Anon to WinNegotiate port
commit3cb2536d4bd18ced1d2c00ef5349352a113c79cb
authorStefan Becker <chemobejk@gmail.com>
Mon, 5 Dec 2011 19:13:09 +0000 (5 21:13 +0200)
committerStefan Becker <chemobejk@gmail.com>
Mon, 5 Dec 2011 19:13:09 +0000 (5 21:13 +0200)
tree1cb38ebbf90cb1e7ec47d961447bcea961af4268
parentcedaa64f0c5dd3081a047ff303b743d92745de0d
certificate: switch from Anon to WinNegotiate port

The WebTicketServiceAnon authentication port doesn't seem to work at
all. Use the WebTicketServiceWinNegotiate port instead. For this URI the
authentication against the WebTicket service is not handled inside SOAP
using WS-Trust elements but on the underlying HTTP level.

The HTTP authentication is only accepted for the SOAP action it was
requested for. As this happens on the HTTP level we need to add a
SOAPAction: header. Updated http_conn API to be able to provide
additional HTTP headers.

With these changes it is possible to authenticate against internal Lync
installations. At least against the one I got a test account for :-)
src/core/http-conn.c
src/core/http-conn.h
src/core/sipe-certificate.c
src/core/sipe-domino.c
src/core/sipe-ews.c
src/core/sipe-svc.c
src/core/sipe-svc.h