cURL / Mailing Lists / curl-users / Single Mail

curl-users

IIS and Kerberos problem

From: <frank.vantol_at_bt.com>
Date: Mon, 31 Oct 2005 14:41:57 -0000

If i try to POST something to a windows IPP printer (so really to IIS) i get the expected WWW-Authenticate: Negotiate reply in a 401.2 error but curl then closes the connection in stead of trying again with the Kerberos ticket. btw I am using curl to do this because the ipp_backend of CUPS doesn't support Kerberos yet...

Am i using the wrong commandline args ?

curl http://pocsrv07/printers/hplj2200ps/.printer --data-binary @printpost -H User-Agent: -H Accept: -H Content-Type:" application/ipp" --trace - --negotiate

NB curl -V shows

curl 7.15.0 (i686-pc-linux-gnu) libcurl/7.15.0 OpenSSL/0.9.7g zlib/1.2.3
Protocols: tftp ftp gopher telnet dict ldap http file https ftps
Features: GSS-Negotiate Largefile NTLM SSL libz

and i did import the http/pocsrv07 keytab entry from ADS (exported with ktpass and correct encryption type)
Received on 2005-10-31