dongping1689 2015-08-17 09:44
浏览 741

使用curl启用GSS-Negotiate

I have the following issue.

OS: CentOS 6.6

PHP: 5.5

Curl: 7.43 compiled

When I execute "curl -V" I get the following:

curl 7.43.0 (x86_64-unknown-linux-gnu) libcurl/7.43.0 OpenSSL/1.0.1e zlib/1.2.3 libidn/1.18 libssh2/1.0 nghttp2/1.2.1-DEV
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: Debug TrackMemory IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz HTTP2 UnixSockets

What I need is curl to support "GSS-Negotiation" but no matter what I try it does not shows up in the features list.

What am I doing wrong?

For example on another server with CentOS 6.4 it is running correctly: Curl -V

curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp 
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

I am using SSO for my project and the idea is to send the credentials to an API.

  • 写回答

1条回答 默认 最新

  • douzhenchun6782 2016-05-24 11:53
    关注

    You have two separate builds of cURL, one for each server. To upgrade, there are a few options:

    1. Build an updated version yourself by downloading the source code.
    2. Upgrade using yum from the command line:

      yum clean all
      yum install libcurl
      

    Option 1 is probably the better route for you since you can control exactly which modules are included within your build.

    评论

报告相同问题?

悬赏问题

  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来