Project

General

Profile

Actions

Bug #6825

closed

LDAP RFC2307 bug in 2.3.2

Added by dave hache almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
User Manager / Privileges
Target version:
-
Start date:
09/29/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.2
Affected Architecture:

Description

Hello,
Seems there is still a bug with the RFC2307 standard in 2.3.2's ldap config.

I setup the LDAP configuration and it doesn't accept to search within the group with the memberUid on one of my firewalls running 2.3.2.

Here is what I see on my ldap server after i test ldap with the initial config in the attached picture.

conn=3804 op=2 SRCH base="cn=groups,cn=compat,dc=grenadine,dc=juicy" scope=2 filter="(&(uid=dave)(cn=grenadineadmins))" attrs=ALL
I tried variants but it always adds the uid instead of the memberUid.
SRCH base="cn=groups,cn=compat,dc=grenadine,dc=juicy" scope=2 filter="(&(uid=dave)(&(objectClass=posixGroup)(cn=grenadineadmins*)))" attrs=ALL

When i go back to the config,and remove the extended query, here is the query that is successfull.

conn=3809 op=1 SRCH base="cn=users,cn=accounts,dc=grenadine,dc=juicy" scope=2 filter="(uid=dave)" attrs=ALL

I wish pfsense's query would look more like so... This is the query Graylog does. I have attached it's query.
conn=4405 op=1 SRCH base="cn=users,cn=accounts,dc=grenadine,dc=juicy" scope=2 filter="(&(objectClass=inetOrgPerson)(uid=dave))" attrs="cn * distinguishedName uid userprincipalname mail mail memberOf ismemberof aci"

Seems pfsense doesn't use the RFC2307 checkbox.


Files

Initial Config.JPG (99.7 KB) Initial Config.JPG Initial Config dave hache, 09/29/2016 08:30 AM
Actions

Also available in: Atom PDF