Project

General

Profile

Bug #529

LDAP filtering broken

Added by Anonymous over 14 years ago. Updated almost 12 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_auth
Target version:
-
ASK QUESTIONS IN Forums:

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.

-- joerg

#1

Updated by Anonymous over 13 years ago

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

#2

Updated by Anonymous over 13 years ago

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

-- joerg

#3

Updated by joerg about 13 years ago

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.

#4

Updated by stbuehler almost 12 years ago

  • Status changed from New to Fixed
  • Resolution set to duplicate

Filters should be fixed, see #1564.

Also available in: Atom