Project

General

Profile

OpenLDAP Problem

Added by Thomas D almost 15 years ago

Hi,

I am trying to use LDAP to authenticate users and I constantly get a "Invalid user or password" message. The same LDAP server works successfully with a few other applications, and is located on the same machine (no encryption, etc).

I have followed the instructions at this page: http://www.redmine.org/wiki/redmine/RedmineLDAP

I found that I do not have "sAMAccountName" in my schema, so I tried all the uid variations I could find. Also, I do not have "sN", but I have "sn"... no changes.

The 'test' button in Redmine returns that the connection is successful. The biggest problem I have is that there is simply no record at all in the log about the failed logins and I have no idea where to start the troubleshooting.

What should I do?


Replies (5)

RE: OpenLDAP Problem - Added by Strubbl Master almost 15 years ago

I am at the same point. The 'test' button in Redmine also returns that the connection is successful. But I don't know how to start troubleshooting now.

Any ideas?

RE: OpenLDAP Problem - Added by Thomas D almost 15 years ago

I got it to work; it was a config issue on the LDAP side so I can confirm redmine / ldap work properly together. let me know if there is a specific file from my config you'd like to see to help troubleshooting.

RE: OpenLDAP Problem - Added by Isidro Merayo over 14 years ago

Hi,
I'm a Redmine newbie.

My problem is the same...

  • Test button returns that the "connection is successful"
  • Login acccess return "Invalid user or password" message

The file log (log/production.log)

Processing AccountController#login (for 10.36.51.118 at 2009-06-30 10:19:49) [POST]
Session ID: 7d7a633a115c563cd56c89bb3d9e18d2
Parameters: {"back_url"=>"my_server:3000", "action"=>"login", "username"=>"USER_ID", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Conexión »"}
Rendering template within layouts/base
Rendering account/login
Completed in 0.02994 (33 reqs/sec) | Rendering: 0.00938 (31%) | DB: 0.01276 (42%) | 200 OK [http://my_server/login]

I don't see the problem :(

Thanks!

Isidro

RE: OpenLDAP Problem - Added by Strubbl Master over 14 years ago

i just left the fields "account" and "pass" blank and the it worked.

RE: OpenLDAP Problem - Added by Macbeth Perez over 14 years ago

I have the same problem that Tomas, the administrators cannot help as?

    (1-5/5)