Fix the build on Win32, and use NEGOTIATE security (to allow kerberos)