cURL / Mailing Lists / curl-library / Single Mail

curl-library

Generic authentication error code

From: Yang Tse <yangsita_at_gmail.com>
Date: Sun, 14 Aug 2011 22:12:11 +0200

Which CURLcode would be more appropriate to use as a generic
indication of an NTLM failure due to a bad handshake,
(CURLE_REMOTE_ACCESS_DENIED "Access denied to remote resource") or
(CURLE_LOGIN_DENIED "Login denied")?

And if the failure is due to 'remote' target forbidding access
(CURLE_REMOTE_ACCESS_DENIED "Access denied to remote resource")?

Or, given that CURLcode(s) are cheap could we have a new one such as
(CURLE_AUTH_ERROR "Failed to authenticate"), that would also serve
other authentication schemes?

Daniel?

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-14