directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] Commented: (DIRSHARED-60) Equality matching rule is not required for an attribute type description
Date Wed, 26 May 2010 20:23:37 GMT


Stefan Seelmann commented on DIRSHARED-60:

The exception is only thrown when injecting the AT via a modification of the subschema subentry.
The schema interceptor uses the SchemaSubentryManager with uses the DescriptionParsers class
where the check is done.

I added two test:
- one adds the AT via ou=schema partiton, this works fine
- one adds the AT via the subschema subentry, this fails and is @Ignore atm

I also added two TODOs to checks in the
class which should be removed.

A final note: the class is never used
(except from test cases), can we remove it?

> Equality matching rule is not required for an attribute type description
> ------------------------------------------------------------------------
>                 Key: DIRSHARED-60
>                 URL:
>             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: ( NAME 'attributeCertificateAttribute' DESC 'attribut
>  e certificate use ;binary' SYNTAX )
> -
> add: objectClasses
> objectClasses: ( 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.

View raw message