security: replace SPNEGO with internal negotiate
commit150359308e8250b96028ab789e685b97e536e753
authorStefan Becker <chemobejk@gmail.com>
Fri, 25 Oct 2013 20:57:25 +0000 (25 23:57 +0300)
committerStefan Becker <chemobejk@gmail.com>
Fri, 25 Oct 2013 20:57:25 +0000 (25 23:57 +0300)
tree8f84c6f19e97c3370d22577d8d326d08e772e8e9
parentea3d0b0243241be6e757cb097b026f59a14307e6
security: replace SPNEGO with internal negotiate

There seem to be problems with SPNEGO:

- some servers don't accept SPNEGO-wrapped tokens
- GSSAPI doesn't process the final SPNEGO package correctly thus a
  SPNEGO security context never reaches READY state.

Fall back to our internal Negotiate implementation, but use GSSAPI also
for NTLM in the GSSAPI-only case.
src/core/Makefile.am
src/core/sip-sec-gssapi.c
src/core/sip-sec-negotiate.c
src/core/sip-sec.c