1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP Negotiate auth (stub krb5) 7</keywords> 8</info> 9# Server-side 10<reply> 11<!-- First request, expect success in one shot --> 12<data1> 13HTTP/1.1 200 Things are fine in server land 14Server: Microsoft-IIS/7.0 15Content-Type: text/html; charset=iso-8859-1 16WWW-Authenticate: Negotiate RA== 17Content-Length: 15 18 19Nice auth sir! 20</data1> 21<datacheck> 22HTTP/1.1 200 Things are fine in server land 23Server: Microsoft-IIS/7.0 24Content-Type: text/html; charset=iso-8859-1 25WWW-Authenticate: Negotiate RA== 26Content-Length: 15 27 28Nice auth sir! 29</datacheck> 30</reply> 31 32# Client-side 33<client> 34<server> 35http 36</server> 37<name> 38HTTP Negotiate authentication (stub krb5) 39</name> 40<features> 41GSS-API 42ld_preload 43!debug 44</features> 45<setenv> 46LD_PRELOAD=%PWD/libtest/.libs/libstubgss.so 47CURL_STUB_GSS_CREDS="KRB5_Alice" 48</setenv> 49<command> 50--negotiate http://%HOSTIP:%HTTPPORT/%TESTNUMBER 51</command> 52</client> 53 54# Verify data after the test has been "shot" 55<verify> 56<protocol> 57GET /%TESTNUMBER HTTP/1.1 58Host: %HOSTIP:%HTTPPORT 59Authorization: Negotiate IktSQjVfQWxpY2UiOkhUVFBAMTI3LjAuMC4xOjE6QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQQ== 60User-Agent: curl/%VERSION 61Accept: */* 62 63</protocol> 64</verify> 65</testcase> 66