Skip to content
Snippets Groups Projects
Commit 1db9543d authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Additional filter options were not passed to LDAP search in seachfordn().

This would mean that any code using this helper function could not
use the ldap.filter option. It's a followup to commit
ff5497e9 which fixed this for the
`login()` method but not for the `searchfordn()` method.
parent 9455272a
No related branches found
No related tags found
No related merge requests found
...@@ -275,7 +275,7 @@ class sspmod_ldap_ConfigHelper ...@@ -275,7 +275,7 @@ class sspmod_ldap_ConfigHelper
} }
return $ldap->searchfordn($this->searchBase, $attribute, return $ldap->searchfordn($this->searchBase, $attribute,
$value, $allowZeroHits); $value, $allowZeroHits, $this->searchFilter);
} }
public function getAttributes($dn, $attributes = null) public function getAttributes($dn, $attributes = null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment