Hi,

I am basically setting up Gitorious on my localbox for dev and
debugging purposes. My gitorious server is up & running, but I am
currently facing difficulties integrating LDAP from office.

After referring to the link:- 
http://gitorious.org/gitorious/pages/LdapIntegration
, I ran the script to test my ldap connection. That passed
successfully without any issues.

Currently, I am making use of certs on my localbox for https.  There
is no specific reason why I have made use of certs on my localbox, its
just something I followed end to end as part of this tutorial (http://
coding-journal.com/installing-gitorious-on-ubuntu-11-04/#comment-76 ).
Now when I try to enter the same credentials during login on https://localhost
on Chrome/Firefox browser, I get the below error:-

ActionController::InvalidAuthenticityToken in
SessionsController#create

ActionController::InvalidAuthenticityToken

App Trace:-

/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
request_forgery_protection.rb:79:in `verify_authenticity_token'
/var/www/gitorious/vendor/rails/activesupport/lib/active_support/
callbacks.rb:178:in `send'
/var/www/gitorious/vendor/rails/activesupport/lib/active_support/
callbacks.rb:178:in `evaluate_method'
/var/www/gitorious/vendor/rails/activesupport/lib/active_support/
callbacks.rb:166:in `call'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
filters.rb:225:in `call'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
filters.rb:629:in `run_before_filters'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
filters.rb:615:in `call_filters'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
filters.rb:610:in `perform_action_without_benchmark'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/var/www/gitorious/vendor/rails/activesupport/lib/active_support/
core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/var/www/gitorious/vendor/rails/activesupport/lib/active_support/
core_ext/benchmark.rb:17:in `ms'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
rescue.rb:160:in `perform_action_without_flash'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
flash.rb:146:in `perform_action'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
base.rb:532:in `send'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
base.rb:532:in `process_without_filters'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
filters.rb:606:in `process'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
base.rb:391:in `process'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
base.rb:386:in `call'
/var/www/gitorious/vendor/rails/actionpack/lib/action_controller/
routing/route_set.rb:437:in `call' .

Any ideas on how I can over come this ?

Currently my gitorious_host is localhost.local , after referring to an
earlier comment as part of the same tutorial(http://coding-journal.com/
installing-gitorious-on-ubuntu-11-04/#comment-76 ) . I am making use
of apache2 server, thus my gitorious_client_host is localhost .

I was thinking if I disable SSL on localhost in my gitorious.yml, it
might be of some help. If disabling SSL is the way, do I need to do it
anywhere else as well ?. I was thinking of this on the grounds that
anyways there wouldn't be many security concerns if we disable https
on localhost(to my best knowledge).

If there are other work arounds, kindly suggest.

Thank you..

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to