Req #52232 [Opn]: cURL doesn't support GSSAPI by default
| From: | andres dot maier at abf dot ch | Date: | Thu, 08 Jul 2010 12:36:56 +0000 |
| Subject: | Req #52232 [Opn]: cURL doesn't support GSSAPI by default | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152222@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52232&edit=1
ID: 52232
User updated by: andres dot maier at abf dot ch
Reported by: andres dot maier at abf dot ch
Summary: cURL doesn't support GSSAPI by default
Status: Open
Type: Feature/Change Request
Package: cURL related
Operating System: Windows
PHP Version: 5.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2010-07-08 07:39:27] andres dot maier at abf dot ch
It doesn't work in my opinion. The option CURLOPT_HTTPAUTH can have
multiple authentication types like CURLAUTH_BASIC (value), *NTLM, as
well as CURLAUTH_GSSNEGOTIATE - which is used to authenticate with
kerberos. When we set this option/auth type
[curl_setopt(CURLOPT_HTTPAUTH, CURLAUTH_GSSNEGOTIATE)] we get false as
return value - which means that GSSAPI (or SSPI) is not available and
this property can not be used with the cURL extension.
------------------------------------------------------------------------
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
http://bugs.php.net/bug.php?id=52232
--
Edit this bug report at http://bugs.php.net/bug.php?id=52232&edit=1