I want to issue a search something like this:
ldapsearch -b dc=ROLES,o=CHAIN,c=US (roleOccupant=*hall*)
In this example, I receive no hits and the slapd log contains: filter='(?=undefined)'
The attribute type 'roleOccupant' has no sub-string matching rule (SUBSTR).
Ciao, Michael.