 |
Forums |
Admin Discussion Forums: help Start New Thread
| Message: 17176 |
 |
BY: Marcello Rocha (mereghost) DATE: 2007-01-19 14:12 SUBJECT: Trouble using the gem Hi,
I didn't have any success using this gem. :( I always get the 407 response from the server.
These are the results of the tests:
Loaded suite ruby_sspi_test
Started
EEEE
Finished in 0.047 seconds.
1) Error:
test_auth(NTLMTest):
RuntimeError: Error: SEC_E_INVALID_TOKEN
./../lib/rubysspi.rb:283:in `complete_authentication'
ruby_sspi_test.rb:17:in `test_auth'
c:/ruby/lib/ruby/1.8/net/http.rb:543:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:440:in `start'
ruby_sspi_test.rb:14:in `test_auth'
2) Error:
test_one_time_use_only(NTLMTest):
RuntimeError: Error: SEC_E_INVALID_TOKEN
./../lib/rubysspi.rb:283:in `complete_authentication'
ruby_sspi_test.rb:41:in `test_one_time_use_only'
c:/ruby/lib/ruby/1.8/net/http.rb:543:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:440:in `start'
ruby_sspi_test.rb:38:in `test_one_time_use_only'
3) Error:
test_proxy_auth_get(NTLMTest):
RuntimeError: Error: SEC_E_INVALID_TOKEN
./../lib/rubysspi.rb:283:in `complete_authentication'
./../lib/rubysspi.rb:216:in `proxy_auth_get'
ruby_sspi_test.rb:30:in `test_proxy_auth_get'
c:/ruby/lib/ruby/1.8/net/http.rb:543:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:440:in `start'
ruby_sspi_test.rb:29:in `test_proxy_auth_get'
4) Error:
test_token_variations(NTLMTest):
RuntimeError: Error: SEC_E_INVALID_TOKEN
./../lib/rubysspi.rb:283:in `complete_authentication'
ruby_sspi_test.rb:57:in `test_token_variations'
c:/ruby/lib/ruby/1.8/net/http.rb:543:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:440:in `start'
ruby_sspi_test.rb:53:in `test_token_variations'
4 tests, 8 assertions, 0 failures, 4 errors
Loaded suite test_gem_list
Started
*** REMOTE GEMS ***
F
Finished in 1.172 seconds.
1) Failure:
test_gem_list(NTLMTest) [test_gem_list.rb:20]:
'gem list --remote rubysspi' failed to execute.
Exception raised:
Class: <SystemExit>
Message: <"exit">
---Backtrace---
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:168:in `exit'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:168:in `terminate_interaction'
(eval):3:in `terminate_interaction'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:92:in `run'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:29:in `run'
test_gem_list.rb:21:in `test_gem_list'
test_gem_list.rb:20:in `test_gem_list'
---------------
1 tests, 2 assertions, 1 failures, 0 errors
Loaded suite test_net_http
Started
FF
Finished in 0.047 seconds.
1) Failure:
test_head_request(NTLMTest)
[test_net_http.rb:22:in `test_head_request'
c:/ruby/lib/ruby/1.8/net/http.rb:543:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:440:in `start'
test_net_http.rb:20:in `test_head_request']:
Did not get response from Google as expected.
<false> is not true.
2) Failure:
test_net_http(NTLMTest)
[test_net_http.rb:14:in `test_net_http'
c:/ruby/lib/ruby/1.8/net/http.rb:543:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:440:in `start'
test_net_http.rb:12:in `test_net_http']:
Did not get response from Google as expected.
<false> is not true.
2 tests, 6 assertions, 2 failures, 0 errors | |
Thread View
Post a followup to this message
|
 |