found the solution:
I need to seperate disable_default: true
thx for your help

On 14 Okt., 13:37, IronMania <ironmani...@googlemail.com> wrote:
> Hi,
>
> ok, now I got the error that I should configure LDAP Authentication.
> But I did.
>
> production:
> disable_default:true
>    methods:
>     - adapter: Gitorious::Authentication::LDAPAuthentication
>
> did I miss something?
>
> On 14 Okt., 12:34, Marius Mårnes Mathiesen
>
>
>
>
>
>
>
> <marius.mathie...@gmail.com> wrote:
> > On Fri, Oct 14, 2011 at 12:24 PM, IronMania 
> > <ironmani...@googlemail.com>wrote:
>
> > > Hi,
>
> > > I set up my gitorious to atuhenticate agains our LDAP server.
>
> > > So I fallowed the wiki page:
> > >https://gitorious.org/gitorious/pages/LdapIntegration
>
> > > and hopefully putt in everything correct in my authentication.yml
>
> > > After that I wanted to test it:
> > > RAILS_ENV=production bundle exec ruby script/test_ldap?connection
> > > username password
>
> > > Result:
> > > script/test_ldap_connection:13: undefined method 'valid_credentials?'
> > > for #<Gitorious::Authentication::DatabaseAuthentication:0xb6dc79d4>
> > > (NoMethodError)
>
> > > what did I do wrong?
>
> > The error message is a little cryptic, I just pushed an update. The problem
> > seems to be that you didn't set up LDAP in config/authentication?
>
> > - M

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

Reply via email to