On Thu, Oct 19, 2017 at 02:02:55PM +0300, Zeus Panchenko wrote:
is there other way to get originally SUBSTR-less attributes to be matchable by substring, except hacking the scheme?
You could try using the extended search filter syntax:
(dhcpOption:caseIgnoreSubstringsMatch:=boot*)
See RFC4515 for more details. In practice you will probably want to create a suitable index on the attribute unless the search will also include another attribute that is already indexed and which will cut down the number of results sufficiently. e.g.
(&(hostCategory=finance)(dhcpOption:caseIgnoreSubstringsMatch:=boot*))
Andrew