There is a server running on linux box which understand kerberos, which also process SPNEGO and understands only kerberos but it does not understand NTLM
The firefox and IE logins and access the web page succesfully using kerberos tokens without prompting again for the password.
Now, I am trying to write a application using WinHTTP library. I followed the example from here http://msdn.microsoft.com/en-Us/library/aa383144(v=vs.85).aspx
In the WinHttpSetCredentials call, i do not want to set the username password instead i want to tell this call to use existing credential. How do I do that?
If i mention blank for username and password it does not work, it falls back to NTLM and fails.
So can someone tell me how to use WinHTTPSetCredentials?