Project

General

Profile

Actions

Feature #1060

closed

Add a LDAP-filter using external auth sources

Added by Lionel Molinier over 16 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
LDAP
Target version:
Start date:
2008-04-15
Due date:
% Done:

0%

Estimated time:
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


Files

ldap_filter.x3n.patch (4.34 KB) ldap_filter.x3n.patch Lionel Molinier, 2008-04-15 09:01
ldap_filter.0.7.3.x3n.patch (4.17 KB) ldap_filter.0.7.3.x3n.patch Patch for the 0.7.3 version Lionel Molinier, 2008-08-28 21:03
ldap_filter_r5657.patch (3.71 KB) ldap_filter_r5657.patch Florian Mutter, 2011-05-06 01:13
net-ldap-0.2.2_r5657.patch (355 KB) net-ldap-0.2.2_r5657.patch Florian Mutter, 2011-05-06 01:13

Related issues

Related to Redmine - Feature #5702: Please add ldap filters for authenticationClosed2010-06-16

Actions
Actions #1

Updated by Paul Rivier over 16 years ago

Yes, this possibility is desirable.

Actions #2

Updated by Jeffrey Price over 16 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.

Actions #3

Updated by Lionel Molinier about 16 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

Actions #4

Updated by Youssef Abou-Kewik about 16 years ago

+1

Actions #5

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to LDAP
Actions #6

Updated by Florian Mutter over 13 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.

Actions #7

Updated by Florian Mutter over 13 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

Actions #8

Updated by Terence Mill over 13 years ago

Does this support ldap groups also?

Actions #9

Updated by Florian Mutter over 13 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.

Actions #10

Updated by Jean-Philippe Lang over 12 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.

Actions #11

Updated by Etienne Massip over 12 years ago

  • Status changed from Closed to Reopened

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

Actions #12

Updated by Jean-Philippe Lang over 12 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.

Actions

Also available in: Atom PDF