Project

General

Profile

can't add LDAP Filter

Added by Bernd Lentes over 7 years ago

Hi,

i'm trying to restrict the login to redmine to members of a particular group in our AD.
I followed this: RedmineLDAP
Login via LDAP is possible. But i can't add the LDAP Filter.

This is the group i created:

Base DN:dc=scidom,dc=de
Filter:(&(objectClass=user)(memberOf=cn=OG-IDG-Redmine,ou=IDG,ou=_OrgGroups,ou=Intern,dc=scidom,dc=de))

I entered it in the field "LDAP filter" in the web interface, but when saving it i get the error
"LDAP Filter is invalid". There is no packet going to our AD (i checked it with tcpdump), so it seems to
be redmine who is refusing.

I'm using Redmine 3.3.0-1 on a 64bit Ubuntu.

Thanks.

Bernd


Replies (1)

RE: can't add LDAP Filter - SOLVED - Added by Bernd Lentes over 7 years ago

Bernd Lentes wrote:

Hi,

i'm trying to restrict the login to redmine to members of a particular group in our AD.
I followed this: http://www.redmine.org/projects/redmine/wiki/RedmineLDAP
Login via LDAP is possible. But i can't add the LDAP Filter.

This is the group i created:

Base DN:dc=scidom,dc=de
Filter:(&(objectClass=user)(memberOf=cn=OG-IDG-Redmine,ou=IDG,ou=_OrgGroups,ou=Intern,dc=scidom,dc=de))

I entered it in the field "LDAP filter" in the web interface, but when saving it i get the error
"LDAP Filter is invalid". There is no packet going to our AD (i checked it with tcpdump), so it seems to
be redmine who is refusing.

I'm using Redmine 3.3.0-1 on a 64bit Ubuntu.

Thanks.

Bernd

I managed it. The "LDAP Filter" entry has to look different:
(&(objectClass=user)(memberOf=cn=OG-IDG-Redmine,ou=IDG,ou=_OrgGroups,OU=INTERN,dc=scidom,dc=de))

Before i entered:
Base DN:dc=scidom,dc=de
Filter:(&(objectClass=user)(memberOf=cn=OG-IDG-Redmine,ou=IDG,ou=_OrgGroups,ou=Intern,dc=scidom,dc=de))

Which does not work because i didn't watch exactly in the admin web interface.

Bernd

    (1-1/1)