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:           Feedback
+Status:           Open
 Type:             Feature/Change Request
 Package:          cURL related
 Operating System: Windows
 PHP Version:      5.3

 New Comment:

NTLM is working, but GSS not. We allready tried that. But we need
kerberos authentication - that's why we need gssnegotiate to work.


Previous Comments:
------------------------------------------------------------------------
[2010-07-08 07:55:19] paj...@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.

------------------------------------------------------------------------
[2010-07-07 16:48:08] paj...@php.net

I don't understand what you are saying sorry.





Does it work? If not, what does not work exactly (like the constants are
not defined or the required protocols are not listed in the available
features, via curl info)? The options are not available? or they are not
used even when you set them?

------------------------------------------------------------------------
[2010-07-07 13:24:03] andres dot maier at abf dot ch

If it would work with winsspi then we should be able to set
CURLAUTH_GSSNEGOTIATE as CURLOPT_HTTPAUTH option in cURL. But if we do
so, false gets returned and we aren't able to delegate the authorization
token of the client.

------------------------------------------------------------------------
[2010-07-02 11:05:19] paj...@php.net

I don't libgssapi works on windows. However windows supports this auth
mechanism via SSPI. See:



http://msdn.microsoft.com/en-us/library/aa380496%28VS.85%29.aspx



And Winsspi is built into curl on windows. Did you try it? or is it what
you are looking for?

------------------------------------------------------------------------


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

Reply via email to