On Wed, Apr 4, 2012 at 8:34 PM, Dominick Rivard <[email protected]>wrote:
> Hi, > > I am having a little issue with the LDAP authentication. I successfully > get it to work with the test script, but I cannot connect through the web > interface. > > script/test_ldap_connection 'Dominick Rivard' '********' > > > the script returns: > > All good, your credentials are correct > > > My authentication.yml file looks like : > > production: > disable_default: true > methods: > - adapter: Gitorious::Authentication::LDAPAuthentication > host: 10.255.1.15 > port: 389 > base_dn: CN=Users,DC=ubilium,DC=loc > login_attribute: CN > attribute_mapping: > name: fullname > mail: email > encryption: none > > > The trace send through email when trying to connect on the web interface > looks like: > > A ActiveRecord::RecordInvalid occurred in sessions#create: > > Validation failed: Login is invalid > > [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/validations.rb:1090:in > `save_without_dirty!' > > Dominick, Would you mind supplying the LDAP attributes for the user you're trying to log in as (eg. LDIF)? Cheers, - Marius -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
