Yes, you are right of course. And thanks for the tip about forcing a matching rule, it works fine.
/JL
On 2012-12-04 02:29, Quanah Gibson-Mount wrote:
--On Monday, December 03, 2012 9:06 AM +0000 jonas.d.lindstrom@ericsson.com wrote:
Full_Name: Jonas Lindstr?m Version: 2.4.33 OS: Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (194.237.142.6)
The attribute mailPreferenceOption in the cosine schema is defined without any matching rules, so filters such as (mailPreferenceOption=0) fail.
Core schema are defined by RFCs. If the RFC defines no matching rule, then there isn't one in the schema. If you want to see this changed, I advise filing an RFC to update the schema definition. For this particular attribute, see https://www.ietf.org/rfc/rfc1274.txt
You can, of course, force matching rules for your search. See the slapcat manpage for examples of how to force matching rules.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc.
Zimbra :: the leader in open source messaging and collaboration