curl-library
Re: How to fall back to ask for a password when NTLM single-sign-on failed
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 20 Jun 2011 22:56:59 -0700
Date: Mon, 20 Jun 2011 22:56:59 -0700
On Tue, Jun 21, 2011 at 11:45:58AM +0800, Wu, Mandy wrote:
> And when NTLM single-sign-on fails (for example, ntlm_auth returns
> invalid type3 message), how do I fall back to ask for a password to
> continue authentication?
libcurl doesn't do automatic fallback for any other authentication protocols.
It's up to the application to retry the request with an alternate protocol
if the first one fails. if NTLM SSO is treated as a new auth protocol within
libcurl, then this technique can still be used.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-21