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

caseIgnoreOrderingMatch (ITS#3101)



Full_Name: Ramon Amat Jimenez
Version: 2.1.22
OS: Debian/Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.246.253.9)



First I extended an entry for an IA5 attributetype for ordering, when 
the schema checker returned, that he actually could not find this matching
rule.

attributetype ( apeAttributeType:1 NAME ('apeMail')
        DESC 'RFC1274: Single-valued RFC822 Mailbox'
        SUP rfc822MailBox 
        ORDERING caseIgnoreIA5OrderingMatch
        SINGLE-VALUE )

Therefore I modified that to the following, because I understood that at the
matching 
rule caseIgnoreOrderingMatch is supported. Unfortunately also that change does
actually be acknowledged from openldap. 

attributetype ( apeAttributeType:1 NAME ('apeMail')
        DESC 'RFC1274: Single-valued RFC822 Mailbox'
        EQUALITY caseIgnoreMatch
        ORDERING caseIgnoreOrderingMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX  1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )

Using a filter as (&(objectclass=...)(apeMail=>smime0@test.amat-sc.ch))
ends with no search resualt entry.

Observe the following dump I realize that the caseIgnoreOrderingMatch does not 
include (take into account) my definition but all the rest. 


2.5.13.3 (caseIgnoreOrderingMatch): matchingRuleUse: ( 2.5.13.3 NAME
'caseIgnoreOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumber ) )


===DUMP =========================================================


@(#) $OpenLDAP: slapd 2.1.22 (Jul 16 2003 10:32:08) $
        sfrost@snowman:/data1/sfrost/debs/openldap2.1/subversion/clean/openldap2-2.1.22/debian/build/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
ldap_pvt_gethostbyname_a: host=granite, r=0
slapd init: initiated server.
slap_sasl_init: initialized!
>>> dnNormalize: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema,272)=0
<<< dnNormalize: <cn=subschema>
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
>>> dnPrettyNormal: <dc=uniqmail,dc=ch>
=> ldap_bv2dn(dc=uniqmail,dc=ch,0)
<= ldap_bv2dn(dc=uniqmail,dc=ch,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=uniqmail,dc=ch,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=uniqmail,dc=ch,272)=0
<<< dnPrettyNormal: <dc=uniqmail,dc=ch>, <dc=uniqmail,dc=ch>
>>> dnPrettyNormal: <cn=Manager,dc=uniqmail,dc=ch>
=> ldap_bv2dn(cn=Manager,dc=uniqmail,dc=ch,0)
<= ldap_bv2dn(cn=Manager,dc=uniqmail,dc=ch,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=uniqmail,dc=ch,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=uniqmail,dc=ch,272)=0
<<< dnPrettyNormal: <cn=Manager,dc=uniqmail,dc=ch>,
<cn=manager,dc=uniqmail,dc=ch>
put_filter: "(!(objectclass=ApePKEYObj))"
put_filter: NOT
put_filter_list "(objectclass=ApePKEYObj)"
put_filter: "(objectclass=ApePKEYObj)"
put_filter: simple
put_simple_filter: "objectclass=ApePKEYObj"
ber_scanf fmt ({mm}) ber:
put_filter: "(objectclass=ApeCertificate)"
put_filter: simple
put_simple_filter: "objectclass=ApeCertificate"
ber_scanf fmt ({mm}) ber:
matching_rule_use_init
    1.2.840.113556.1.4.804 (integerBitOrMatch): matchingRuleUse: (
1.2.840.113556.1.4.804 NAME 'integerBitOrMatch' APPLIES (
apeSMAutomaticKeyImport $ apeSMTypeDecryption $ apeSMTypeEncryption $
apeVSQuarantine $ apeVSTypeIncoming $ apeVSTypeOutgoing $ apePort $
mailPreferenceOption $ supportedLDAPVersion ) )
    1.2.840.113556.1.4.803 (integerBitAndMatch): matchingRuleUse: (
1.2.840.113556.1.4.803 NAME 'integerBitAndMatch' APPLIES (
apeSMAutomaticKeyImport $ apeSMTypeDecryption $ apeSMTypeEncryption $
apeVSQuarantine $ apeVSTypeIncoming $ apeVSTypeOutgoing $ apePort $
mailPreferenceOption $ supportedLDAPVersion ) )
    1.3.6.1.4.1.1466.109.114.2 (caseIgnoreIA5Match): matchingRuleUse: (
1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match' APPLIES ( janetMailbox $
cNAMERecord $ sOARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $
associatedDomain $ dc $ mail $ altServer ) )
    1.3.6.1.4.1.1466.109.114.1 (caseExactIA5Match): matchingRuleUse: (
1.3.6.1.4.1.1466.109.114.1 NAME 'caseExactIA5Match' APPLIES ( janetMailbox $
cNAMERecord $ sOARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $
associatedDomain $ dc $ mail $ altServer ) )
    2.5.13.34 (certificateExactMatch): matchingRuleUse: ( 2.5.13.34 NAME
'certificateExactMatch' APPLIES ( cACertificate $ userCertificate ) )
    2.5.13.30 (objectIdentifierFirstComponentMatch): matchingRuleUse: (
2.5.13.30 NAME 'objectIdentifierFirstComponentMatch' APPLIES (
supportedApplicationContext $ ldapSyntaxes $ matchingRuleUse $ objectClasses $
attributeTypes $ matchingRules $ supportedFeatures $ supportedExtension $
supportedControl $ structuralObjectClass $ objectClass ) )
    2.5.13.29 (integerFirstComponentMatch): matchingRuleUse: ( 2.5.13.29 NAME
'integerFirstComponentMatch' APPLIES ( apeSMAutomaticKeyImport $
apeSMTypeDecryption $ apeSMTypeEncryption $ apeVSQuarantine $ apeVSTypeIncoming
$ apeVSTypeOutgoing $ apePort $ mailPreferenceOption $ supportedLDAPVersion ) )
    2.5.13.27 (generalizedTimeMatch): matchingRuleUse: ( 2.5.13.27 NAME
'generalizedTimeMatch' APPLIES ( apeTime $ apeNotAfter $ apeNotBefore $
modifyTimestamp $ createTimestamp ) )
    2.5.13.24 (protocolInformationMatch): matchingRuleUse: ( 2.5.13.24 NAME
'protocolInformationMatch' APPLIES protocolInformation )
    2.5.13.23 (uniqueMemberMatch): matchingRuleUse: ( 2.5.13.23 NAME
'uniqueMemberMatch' APPLIES uniqueMember )
    2.5.13.22 (presentationAddressMatch): matchingRuleUse: ( 2.5.13.22 NAME
'presentationAddressMatch' APPLIES presentationAddress )
    2.5.13.20 (telephoneNumberMatch): matchingRuleUse: ( 2.5.13.20 NAME
'telephoneNumberMatch' APPLIES ( pager $ mobile $ homePhone $ telephoneNumber )
)
    2.5.13.17 (octetStringMatch): matchingRuleUse: ( 2.5.13.17 NAME
'octetStringMatch' APPLIES userPassword )
    2.5.13.16 (bitStringMatch): matchingRuleUse: ( 2.5.13.16 NAME
'bitStringMatch' APPLIES x500UniqueIdentifier )
    2.5.13.14 (integerMatch): matchingRuleUse: ( 2.5.13.14 NAME 'integerMatch'
APPLIES ( apeSMAutomaticKeyImport $ apeSMTypeDecryption $ apeSMTypeEncryption $
apeVSQuarantine $ apeVSTypeIncoming $ apeVSTypeOutgoing $ apePort $
mailPreferenceOption $ supportedLDAPVersion ) )
    2.5.13.13 (booleanMatch): matchingRuleUse: ( 2.5.13.13 NAME 'booleanMatch'
APPLIES ( apeDisabled $ hasSubordinates ) )
    2.5.13.11 (caseIgnoreListMatch): matchingRuleUse: ( 2.5.13.11 NAME
'caseIgnoreListMatch' APPLIES ( homePostalAddress $ registeredAddress $
postalAddress ) )
    2.5.13.8 (numericStringMatch): matchingRuleUse: ( 2.5.13.8 NAME
'numericStringMatch' APPLIES ( internationaliSDNNumber $ x121Address ) )
    2.5.13.7 (caseExactSubstringsMatch): matchingRuleUse: ( 2.5.13.7 NAME
'caseExactSubstringsMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumber ) )
    2.5.13.6 (caseExactOrderingMatch): matchingRuleUse: ( 2.5.13.6 NAME
'caseExactOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumber ) )
    2.5.13.5 (caseExactMatch): matchingRuleUse: ( 2.5.13.5 NAME 'caseExactMatch'
APPLIES ( apeSMEncryptionRule $ apeVSCharSet $ apeVSPersonalName $
apeVSInetAddress $ apeMailInfoHtml $ apeMailInfoPlain $ apeIssuer $ apeId $
apeAuth $ apeType $ apeMethod $ apeHost $ apePassword $ apeMail $
preferredLanguage $ employeeType $ employeeNumber $ displayName $
departmentNumber $ carLicense $ documentPublisher $ buildingName $
organizationalStatus $ uniqueIdentifier $ co $ personalTitle $ documentLocation
$ documentVersion $ documentTitle $ documentIdentifier $ host $ userClass $
roomNumber $ drink $ info $ textEncodedORAddress $ uid $ labeledURI $ dmdName $
houseIdentifier $ dnQualifier $ generationQualifier $ initials $ givenName $
destinationIndicator $ physicalDeliveryOfficeName $ postOfficeBox $ postalCode $
businessCategory $ description $ title $ ou $ o $ street $ st $ l $ c $
serialNumber $ sn $ knowledgeInformation $ cn $ name $ ref $ vendorVersion $
vendorName $ supportedSASLMechanisms ) )
    2.5.13.3 (caseIgnoreOrderingMatch): matchingRuleUse: ( 2.5.13.3 NAME
'caseIgnoreOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $
serialNumber ) )
    2.5.13.2 (caseIgnoreMatch): matchingRuleUse: ( 2.5.13.2 NAME
'caseIgnoreMatch' APPLIES ( apeSMEncryptionRule $ apeVSCharSet $
apeVSPersonalName $ apeVSInetAddress $ apeMailInfoHtml $ apeMailInfoPlain $
apeIssuer $ apeId $ apeAuth $ apeType $ apeMethod $ apeHost $ apePassword $
apeMail $ preferredLanguage $ employeeType $ employeeNumber $ displayName $
departmentNumber $ carLicense $ documentPublisher $ buildingName $
organizationalStatus $ uniqueIdentifier $ co $ personalTitle $ documentLocation
$ documentVersion $ documentTitle $ documentIdentifier $ host $ userClass $
roomNumber $ drink $ info $ textEncodedORAddress $ uid $ labeledURI $ dmdName $
houseIdentifier $ dnQualifier $ generationQualifier $ initials $ givenName $
destinationIndicator $ physicalDeliveryOfficeName $ postOfficeBox $ postalCode $
businessCategory $ description $ title $ ou $ o $ street $ st $ l $ c $
serialNumber $ sn $ knowledgeInformation $ cn $ name $ ref $ vendorVersion $
vendorName $ supportedSASLMechanisms ) )
    2.5.13.1 (distinguishedNameMatch): matchingRuleUse: ( 2.5.13.1 NAME
'distinguishedNameMatch' APPLIES ( apeConnectorSMTPRef $ apeConnectorIMAP4Ref $
apeConnectorPOP3Ref $ apeX509Ref $ dITRedirect $ associatedName $ secretary $
documentAuthor $ manager $ seeAlso $ roleOccupant $ owner $ member $
distinguishedName $ aliasedObjectName $ namingContexts $ subschemaSubentry $
modifiersName $ creatorsName ) )
    2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME
'objectIdentifierMatch' APPLIES ( supportedApplicationContext $
supportedFeatures $ supportedExtension $ supportedControl $
structuralObjectClass $ objectClass ) )
slapd startup: initiated.
slapd starting