You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/05/26 00:41:35 UTC

[jira] Commented: (DIRSHARED-60) Equality matching rule is not required for an attribute type description

    [ https://issues.apache.org/jira/browse/DIRSHARED-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871394#action_12871394 ] 

Emmanuel Lecharny commented on DIRSHARED-60:
--------------------------------------------

I have added tests where the given AT is injected, without any problem.

Can you provide a unit test that demonstrates the problem ?

> Equality matching rule is not required for an attribute type description
> ------------------------------------------------------------------------
>
>                 Key: DIRSHARED-60
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-60
>             Project: Directory Shared
>          Issue Type: Bug
>    Affects Versions: 0.9.19
>            Reporter: Stefan Seelmann
>             Fix For: 0.9.20
>
>
> When injecting the AT and OC below the server rejects it with the following error:
>     ERR_414 Cannot permit the addition of an attributeType with an no EQUALITY matchingRule  and no super type from which to derive an EQUALITY matchingRule.
> According to RFC 4512 section 4.1.2 the matching rules are optional (the SYNTAX field is required).
> dn: cn=schema
> changetype: modify
> add: attributeTypes
> attributeTypes: ( 2.5.4.58 NAME 'attributeCertificateAttribute' DESC 'attribut
>  e certificate use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
> -
> add: objectClasses
> objectClasses: ( 2.5.6.24 NAME 'pmiUser' SUP top DESC 'a pmi entity that can c
>  ontain X509 ACs' MAY attributeCertificateAttribute )
> -

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.