[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4604) backs-sql: backsql_process_filter(): invalid filter for UTF-8 querys



  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1569075624-555860190-1151855492=:23744
Content-Type: TEXT/PLAIN; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE



On Sat, 1 Jul 2006, Pierangelo Masarati wrote:

> it should now be fixed in HEAD; you may pull it out of the
> CVS by getting a diff of servers/slapd/back-sql/search.c  1.118 ->
> 1.119; it should apply smoothly to 2.3.24.  Please test at your
> convenience and report thru the ITS.

Using HEAD 1.119, search.c it works now:

conn=3D1 op=3D1 SRCH base=3D"dc=3Dfoo,dc=3Dde" scope=3D2 deref=3D0=20
filter=3D"(|(cn=3Dm\C3\BCller*)(?=3Dundefined)(sn=3Dm\C3\BCller*))"

An additional mysql query is sent afterwards:

=2E..
backsql_process_filter(): filter computed (UNDEFINED)
=2E..

<=3D=3Dbacksql_srch_query() returns SELECT DISTINCT=20
ldap_entries.id,ldap_entries.id,'inetOrgPerson' AS=20
objectClass,ldap_entries.dn AS dn FROM ldap_entries WHER
E ldap_entries.id=3Dldap_entries.keyval AND ldap_entries.oc_map_id=3D? AND =
9=3D9=20
AND 1=3D1 AND ((ldap_entries.cn LIKE 'm=C3=BCller%') OR 12=3D0 OR (ldap_ent=
ries.sn=20
LIKE
'm=C3=BCller%'))


Many thanks for fixing at the speed of of light.

Kind regards
Thomas Reifferscheid
--1569075624-555860190-1151855492=:23744--