Project

General

Profile

Another LDAP problem

Added by Isidro Merayo over 15 years ago

Hi,
The LDAP is configured, the "test button" OK and "on-the-fly user creation" is checked.

I try to login, but nothing :( The error "Invalid user or password"

The log/production.log say

Processing AccountController#login (for MY_IP at 2009-07-01 11:17:29) [POST]
  Session ID: 7d7a633a115c563cd56c89bb3d9e18d2
  Parameters: {"back_url"=>"MY_SERVER:3000", "action"=>"login", "username"=>"USER", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Conexión »"}
DEPRECATION WARNING: You're using the Ruby-based MySQL library that ships with Rails. 
This library will be REMOVED FROM RAILS 2.2. Please switch to the offical mysql gem: `gem install mysql`  
See http://www.rubyonrails.org/deprecation for details. 
(called from mysql_connection at /srv/redmine-0.8.4/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:81)
Rendering template within layouts/base
Rendering account/login
Completed in 0.26769 (3 reqs/sec) | Rendering: 0.04799 (17%) | DB: 0.03273 (12%) | 200 OK [http://MY_SERVER/login]

I try to execute

gem install mysql
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  could not find gem mysql locally or in a repository

:(

Thanks!

Isidro


Replies (2)

RE: Another LDAP problem - Added by Isidro Merayo over 15 years ago

The problem with gem install mysql, resolved.

But no login with LDAP :(

Isidro

RE: Another LDAP problem - Added by Isidro Merayo over 15 years ago

The log/production.log

Processing AccountController#login (for 10.36.51.118 at 2009-07-01 13:02:56) [POST]
Session ID: 7d7a633a115c563cd56c89bb3d9e18d2
Parameters: {"back_url"=>"MY_SERVER:3000", "action"=>"login", "username"=>"MY_USER", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Conexión »"}
Rendering template within layouts/base
Rendering account/login
Completed in 0.26998 (3 reqs/sec) | Rendering: 0.05444 (20%) | DB: 0.01849 (6%) | 200 OK [http://MY_SERVER/login]

    (1-2/2)