Fljud: bug in search with empty field
Status: Alpha
Brought to you by:
binaryape
When searching using Fljud the LDAP server does not
return the correct result when some of the fields are
empty. This seems to happen because of a problem in
line 716 of fljud.pl (v0.3), which says:
$filter .= "($item=*$searchfor{$item}*)";
The problem is that when the fields are empty the part
of the query corresponding to that field ends up as:
(fieldName=**)
OpenLDAP does not handle the double '*' characters
correctly. The correct expression would be:
(fieldName=*)