Feature #1060

Add a LDAP-filter using external auth sources

Added by Lionel Molinier almost 9 years ago. Updated about 5 years ago.

Status:ClosedStart date:2008-04-15
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:LDAP
Target version:1.4.0
Resolution:Fixed

Description

For now, the LDAP authentication does not support LDAP-filter, which can be helpful for some installation. This patch is providing this filter, directly configurable in the web interface

ldap_filter.x3n.patch Magnifier (4.34 KB) Lionel Molinier, 2008-04-15 09:01

ldap_filter.0.7.3.x3n.patch Magnifier - Patch for the 0.7.3 version (4.17 KB) Lionel Molinier, 2008-08-28 21:03

ldap_filter_r5657.patch Magnifier (3.71 KB) Florian Mutter, 2011-05-06 01:13

net-ldap-0.2.2_r5657.patch Magnifier (355 KB) Florian Mutter, 2011-05-06 01:13


Related issues

Related to Redmine - Feature #5702: Please add ldap filters for authentication Closed 2010-06-16

Associated revisions

Revision 9044
Added by Jean-Philippe Lang about 5 years ago

Adds an optional LDAP filter (#1060).

Revision 9258
Added by Jean-Philippe Lang about 5 years ago

Fixes error message for LDAP filter (#1060).

History

#1 Updated by Paul Rivier almost 9 years ago

Yes, this possibility is desirable.

#2 Updated by Jeffrey Price almost 9 years ago

I would love to see a patch from 0.6.4 with this feature (or even 0.7 when it comes out). The above patch appears to be 0.6.3.

#3 Updated by Lionel Molinier over 8 years ago

I've recently updated my server to the 0.7.3 release and so my patch. I've been using it for months now and it works quite good.
I hope it will be integrated into the trunk one day. I can do the adaptation job if developers are too busy.

Thanks,
x3n

#4 Updated by Youssef Abou-Kewik over 8 years ago

+1

#5 Updated by Toshi MARUYAMA about 6 years ago

  • Category set to LDAP

#6 Updated by Florian Mutter almost 6 years ago

This Patch is available since 3 Years now and still not in Redmine... Is there any chance it will be included some day? I think this feature is mandatory for LDAP authentication.

#7 Updated by Florian Mutter almost 6 years ago

Hey,

I adapted the patch above to the current svn version (r5657). I also added some things to prevent crashes, if no filter is supplied. I also created a patch to update net::Ldap to the latest stable version (0.2.2). I hope you can give me some feedback on these two patches.

Greets elm

#8 Updated by Terence Mill almost 6 years ago

Does this support ldap groups also?

#9 Updated by Florian Mutter almost 6 years ago

Hey,

This Patch does allow to restrict the possible Users that are allowed to Login. It does not make any informations that are in the ldap Directory available to redmine. You can specify a Filter As described here: http://www.selfadsi.de/ldap-filter.htm

This provides a simple method to specify a ldapgroup that is allowd to login. But it does not allow you to specify groups that will Be admins if the Login or groups that will Be developers. For this purpose there are other patches here available. I think they can Be combined with this patch if they are based on net::ldap which some are.

#10 Updated by Jean-Philippe Lang about 5 years ago

  • Tracker changed from Patch to Feature
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 1.4.0
  • Resolution set to Fixed

Feature added in r9044.

#11 Updated by Etienne Massip about 5 years ago

  • Status changed from Closed to Reopened

Field name translation is not hit on validation error: filter n'est pas valide.

#12 Updated by Jean-Philippe Lang about 5 years ago

  • Status changed from Reopened to Closed

Etienne Massip wrote:

Field name translation is not hit on validation error: filter n'est pas valide.

Fixed in r9258.

Also available in: Atom PDF