Req #52232 [Opn->Fbk]: cURL doesn't support GSSAPI by default

From: Date: Thu, 28 Jan 2021 17:51:45 +0000
Subject: Req #52232 [Opn->Fbk]: cURL doesn't support GSSAPI by default
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231824@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=52232&edit=1 ID: 52232 Updated by: cmb@php.net Reported by: andres dot maier at abf dot ch Summary: cURL doesn't support GSSAPI by default -Status: Open +Status: Feedback Type: Feature/Change Request Package: cURL related Operating System: Windows PHP Version: 5.3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Is this issue still unresolved? It seems to me that the provided libcurl builds have SSPI enabled for many years, and according to the cURL documentation[1], CURLAUTH_NEGOTIATE requires SSPI on Windows. [1] <https://curl.se/libcurl/c/CURLOPT_HTTPAUTH.html> Previous Comments: ------------------------------------------------------------------------ [2010-07-08 14:36:54] andres dot maier at abf dot ch I'll try your suggestion and give you feedback. Why I posted this link is not because of soap. Please read the last paragraph about overriding __doRequest and rebuilding it with cURL. Maybe you can extract some usefull information about our problem or about our environment. ------------------------------------------------------------------------ [2010-07-08 13:21:31] pajoye@php.net ok, I don't seem to be able to get the details I need to actually see where is the point of failure. I do not use kerberos, so I won't be able to test or debug it. However, if you can provide me an access to a box where I can actually test GSS for kerberos auth, then we may get one step further. By the way, one thing that could help is to test using the curl command line tool. All features available through the API can be tested using the command line as well (see the curl website). Can you give it a try too please? About soap, unrelated. Soap does not use Curl. ------------------------------------------------------------------------ [2010-07-08 08:23:09] andres dot maier at abf dot ch in addition to understand our problem, you can visit another feature/change request located here: http://bugs.php.net/bug.php?id=52231 ------------------------------------------------------------------------ [2010-07-08 08:15:35] andres dot maier at abf dot ch NTLM is working, but GSS not. We allready tried that. But we need kerberos authentication - that's why we need gssnegotiate to work. ------------------------------------------------------------------------ [2010-07-08 07:55:19] pajoye@php.net Please see http://www.php.net/curl_setopt (CURLOPT_HTTPAUTH) Did you try ANY_SAFE or using the bitwise operator for ntlm and GSS? I suppose too that it is only in your comment that the curl_setopt misses the curl resource. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=52232 -- Edit this bug report at https://bugs.php.net/bug.php?id=52232&edit=1

« previous php.bugs (#231824) next »