Supposedly I have a webpage, where I got the authentication popup [The very same as those web pages that uses basic authentication]. However, the server is using Kerberos for authentication. As such, is there a way I can retrieve the response with VUGen? Because I tried to use the conventional way of using 'web_add_header("Authorization","[password]")', as well as using 'web_set_user("username, password, hostname:80")' but I kept getting 401.
Asked
Active
Viewed 509 times
2 Answers
1
Please check the online help of web_set_user api, and ensure username is in the form of domain\user, e.g. "mansfield\freddy".
Besides, it's suggested to set socket option as KERBEROS.
// Turn on pre-emptive authentication for web server. The pre-emptive authenticate scheme is always “KERBEROS”.
web_set_sockets_option("INITIAL_AUTH","KERBEROS");

tedyyu
- 587
- 6
- 12
0
- web_add_header could override the authentication info generated by web_set_user, so please use web_set_user only
- maybe you should use domain name with your username
- please compare the snapshot of extended log with the network traffic of manual operation (you may capture it by wireshark or fiddler) and see what is the difference.

phillip
- 1