Ticket #529 (closed defect: duplicate)

Opened 3 years ago

Last modified 6 weeks ago

LDAP filtering broken

Reported by: joerg@… Owned by: jan
Priority: normal Milestone:
Component: mod_auth Version: 1.4.16
Severity: major Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

Description

The separation of ldap_filter was broken somewhere around 1.4.7. pre-filter and post-filter end up as empty when the filter statement is constructed; the resulting filter expression gets rejected as incorrect.

Attachments

Change History

Changed 21 months ago by anonymous

Any news on this? Neither 1.4.11 nor 1.4.13 are working...

Changed 21 months ago by joerg@…

Hm. It works for me with version 1.4.11. I don't know what changed though.

Changed 14 months ago by joerg

  • version changed from 1.4.10 to 1.4.16
  • pending unset

I tracked it down to a problem with conditional handling in the config file.

My config file basically looks like:

block 1

$SERVER["socket"] == "..." {

block 2

$HTTP["remoteip"] != "..." {

block 3

}
}

If I place the auth.backend options in either block 1 or block 3, it works. It doesn't work when the options are in part 2.

Changed 6 weeks ago by stbuehler

  • status changed from new to closed
  • resolution set to duplicate

Filters should be fixed, see #1564.

Add/Change #529 (LDAP filtering broken)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.