• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bug in CFHTTPMessageAddAuthentication?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in CFHTTPMessageAddAuthentication?


  • Subject: Bug in CFHTTPMessageAddAuthentication?
  • From: Frederick Cheung <email@hidden>
  • Date: Thu, 9 Feb 2006 20:58:09 +0000

I'm using CFNetwork for all my http transfer needs. I use proxy settings as returned by the SystemConfiguration framework, and my app can get the passwords for proxies from the keychain.
If I get a 407 response, I store the failed request, and the following code is then called (on a fresh CFHTTPMessageRef)


CFHTTPMessageAddAuthentication(request,param- >proxyFailedRequest,httpProxyUser,httpProxyPassword,NULL,true)

This normally works swimingly, however yesterday a user emailed in because my app wasn't able to get through his corporate proxy, the reason being that CFHTTPMessageAddAuthentication was failing and thus no credentials were being set
However, if I called CFHTTPMessageAddAuthentication specifying kCFHTTPAuthenticationSchemeBasic then CFHTTPMessageAddAuthentication works fine (actually I first try kCFHTTPAuthenticationSchemeDigest, then kCFHTTPAuthenticationSchemeBasic).


The Proxy-Authenticate challenge was
NTLM, Basic realm="ukbisaw01.prod.quest.corp", Kerberos, Negotiate

Any ideas as to what might be happening?

Fred

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bug in CFHTTPMessageAddAuthentication?
      • From: Becky Willrich <email@hidden>
  • Prev by Date: Re: Need information on connecting Windows computers
  • Next by Date: Re: Bug in CFHTTPMessageAddAuthentication?
  • Previous by thread: Re: Need information on connecting Windows computers
  • Next by thread: Re: Bug in CFHTTPMessageAddAuthentication?
  • Index(es):
    • Date
    • Thread