Project

General

Profile

Actions

Defect #3253

open

LDAP Auth : Alias Dereference

Defect #3253: LDAP Auth : Alias Dereference

Added by Will aka S.Collado over 17 years ago. Updated almost 14 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Resolution:
Affected version:

Description

Hello,

I'm using last stable release of RedMine (0.8.3) with OpenLDAP 2.3.43 and I can't manage to get LDAP users authenticated.

It seems that the ldap search is done with wrong parameter for alias dereference option.

I made a ldapsearch from bash prompt with same filter as Redmine and all worked fine (my ldap.conf has DEREF = always seen in ldapquery log as deref=3), I checked in OpenLDAP log and RedMine queries seems to be run with dereference set to "never" (seen in ldapquery log as deref=0).

Do you know if there's a way to set this option in Redmine Source or settings files ?

I'm not familiar with redmine source code and ruby in general, but i think it must be something related to Net::LDAP statements in app/models/auth_source_ldap.rb.

Here is my server & Redmine install info :

Redmine version           0.8.3
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.1
Rails version             2.1.2
Active Record version     2.1.2
Action Pack version       2.1.2
Active Resource version   2.1.2
Action Mailer version     2.1.2
Active Support version    2.1.2

MySQL 5.0.58
OpenLDAP 2.3.43

On Linux CentOS 5.3

Thanks in advance for your help.

Regards.

Will
-----

Sorry for my english, french user here ;)


Files

advanced_ldap_auth_0.8.3.diff (8.34 KB) advanced_ldap_auth_0.8.3.diff Daniel Marczisovszky, 2009-05-01 21:16
advanced_ldap_auth_0.8.3.diff (9.93 KB) advanced_ldap_auth_0.8.3.diff Daniel Marczisovszky, 2009-05-12 21:33

Related issues 3 (2 open — 1 closed)

Related to Redmine - Patch #3358: Advanced LDAP authenticationNewActions
Related to Redmine - Feature #1913: LDAP - authenticate as userClosedJean-Philippe LangActions
Related to Redmine - Defect #1420: LDAP authentication extremely flakyNeeds feedbackActions
Actions

Also available in: PDF Atom