Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion LDAP authentication test problem
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kelketek Titikilik Rritaa  
View profile  
 More options May 10 2012, 1:48 pm
From: Kelketek Titikilik Rritaa <kelke...@gmail.com>
Date: Thu, 10 May 2012 12:48:04 -0500
Local: Thurs, May 10 2012 1:48 pm
Subject: Re: [gitorious] LDAP authentication test problem

Make sure you set the envionment on the commandline before doing that. You
should be able to prepend something like:
RAILS_ENV=production and have it work.
On May 10, 2012 12:41 PM, "TeLeKoTeKo" <tel...@gmail.com> wrote:

> Hello!

> I'm trying to make my gitorious authenticate using openldap...
> I am following this tutorial:
> https://gitorious.org/gitorious/pages/LdapIntegration

> After configured authentication.yml, I was trying the script

> bundle exec script/test_ldap_connection admin admin

> But, i get this error:

> ---
> git@vm01:/var/www/gitorious$ sudo bundle exec script/
> test_ldap_connection admin admin
> ./config/environment.rb:26: Your config/gitorious.yml does not have an
> entry for your current Rails environment. Please consult config/
> gitorious.sample.yml for instructions. (RuntimeError)
>        from ./config/../vendor/rails/railties/lib/initializer.rb:111:in
> `run'
>        from ./config/environment.rb:24
>        from script/test_ldap_connection:8:in `require'
>        from script/test_ldap_connection:8
> ---

> My gitorious.yml is ok... Gitorious is running without problems.. git-
> daemon, git-poller.. everything ok, starting without problemas with
> gitorious.yml..

> This problem is only charged when I run the test script ldap.

> Someone can help me?

> Thanks!!

> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscribe@googlegroups.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.