cURL / Mailing Lists / curl-users / Single Mail

curl-users

Segmentation fault

From: jianghao <realjiangms_at_hotmail.com>
Date: Mon, 11 Aug 2008 15:02:54 +0800

Hi all,
 
When I used curl to test my weblogic configuration, I got the following outputs
 
* About to connect() to zihao-fedora8 port 7001* Trying 127.0.0.1... connected* Connected to zihao-fedora8 (127.0.0.1) port 7001> GET /centrifydc-samples/centrifydc-kerberos/ HTTP/1.1> User-Agent: curl/7.15.3 (i686-pc-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.8 libidn/0.6.14> Host: zihao-fedora8:7001> Accept: */*> < HTTP/1.1 302 Moved Temporarily< Date: Mon, 11 Aug 2008 06:43:21 GMT< Location: http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/spnego;jsessionid=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406< Content-Type: text/html* Added cookie JSESSIONID="LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406" for domain zihao-fedora8, path /, expire 0< Set-Cookie: JSESSIONID=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406; path=/< Transfer-Encoding: chunked* Ignoring the response-body % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total S!
 pent Left Speed100 495 0 495 0 0 21791 0 --:--:-- --:--:-- --:--:-- 21791100 495 0 495 0 0 20929 0 --:--:-- --:--:-- --:--:-- 0* Connection #0 to host zihao-fedora8 left intact* Issue another request to this URL: 'http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/spnego;jsessionid=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406'* Re-using existing connection! (#0) with host zihao-fedora8* Connected to zihao-fedora8 (127.0.0.1) port 7001> GET /centrifydc-samples/centrifydc-kerberos/spnego;jsessionid=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406 HTTP/1.1> User-Agent: curl/7.15.3 (i686-pc-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.8 libidn/0.6.14> Host: zihao-fedora8:7001> Accept: */*> Cookie: JSESSIONID=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406> < HTTP/1.1 401 Unauthorized< Date: Mon, 11 Aug 2008 06:43:21 GMT< Content-Length: 0< WWW-Authenticate: Negotiate< WWW-Au!
 thenticate: NTLM< WWW-Authenticate: Basic
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connection #0 to host zihao-fedora8 left intact* Issue another request to this URL: 'http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/spnego;jsessionid=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406'* Re-using existing connection! (#0) with host zihao-fedora8* Connected to zihao-fedora8 (127.0.0.1) port 7001* Server auth using GSS-Negotiate with user 'smoke2k3-test1'> GET /centrifydc-samples/centrifydc-kerberos/spnego;jsessionid=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406 HTTP/1.1> Authorization: Negotiate YIIFDAYJKoZIhvcSAQICAQBuggT7MIIE96ADAgEFoQMCAQ6iBwMFAAAAAACjggQPYYIECzCCBAegAwIBBaEYGxZTTU9LRTJLMy5DRU5UUklGWS5URVNUojcwNaADAgEDoS4wLBsESFRUUBskemloYW8tZmVkb3JhOC5zbW9rZTJrMy5jZW50cmlmeS50ZXN0o4IDqzCCA6egAwIBF6EDAgEDooIDmQSCA5V+oJ078En+0KteDnF5XsQGfSX8toy80KvRr9PP/q!
 6J2XWwEJSSIHR45OIKY+Nz7hzOOn90+ZWMsMtnqyTw8rxT0Oc7vluju7rozKSv1Dp+o3uyhSfwMgqVdMkWPEg7wk0hML9tga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g1a5ALaSBzjCBy6ADAgEXooHDBIHALvvPV73kRxklOWhHDCAkDXCcQvBQ9oXIYVfYiOZibmqU08MjrwiGwO2z41QOlgxIEkFpQh/7WxiTDjR9+9xq3XrFn7xu7ILXMfBgLvN0elMzVczWYsAQZIhgeVpr+EFv53g9TeZIhxIw1NQERINPHGnVr4HTV2E3LIYapyRQocE7rdTUM1+4Q481+C5Z906yGOwPAtfLiX3P8mmObjZDMyEmNgXsL2fRZeRILHcsulMU7UcmUxjMRwIJpICzV03R> User-Agent: curl/7.15.3 (i686-pc-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.8 libidn/0.6.14> Host: zihao-fedora8:7001> Accept: */*> Cookie: JSESSIONID=LffJrPKDMS2FTF0KdYV8SDzVm22tLYqWbDn8Rnjj3R4MjF7nBh88!1820572406> < HTTP/1.1 302 Moved Temporarily< Date: Mon, 11 Aug 2008 06:43:22 GMT< Location: http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/welcome.jsp< Content-Type: text/html* Added cookie http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/welcome.jsp="1218437002834" for domain !
 zihao-fedora8, path /centrifydc-samples/centrifydc-kerberos/, expire 0<!
  Set-Cookie: http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/welcome.jsp=1218437002834< Transfer-Encoding: chunked< Connection: Close
  0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0* Closing connection #0* Issue another request to this URL: 'http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/welcome.jsp'* About to connect() to zihao-fedora8 port 7001* Trying 127.0.0.1... connected* Connected to zihao-fedora8 (127.0.0.1) port 7001
Segmentation fault
 
This is my curl version and curl command line:
 
sudo -u smoke2k3-test1 curl -v --negotiate -c cookie.txt -L -u smoke2k3-test1:test http://zihao-fedora8:7001/centrifydc-samples/centrifydc-kerberos/ &>weblogickerberos.log
 
# /usr/share/centrifydc/apache/bin/curl -Vcurl 7.15.3 (i686-pc-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.8 libidn/0.6.14Protocols: tftp ftp telnet dict ldap http file https ftps Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL
The same url works fine in firefox with the same negotiate authentication method as user smoke2k3-test1
 
Can anyone help me?
 
Thanks and best regards,
zihao
_________________________________________________________________
快来看看这些猫咪有多逗,爆笑!
http://cnweb.search.live.com/video/results.aspx?q=%E5%8F%AF%E7%88%B1%E7%8C%AB%E5%92%AA&Form=MEVHAA

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-08-11