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

Re: (ITS#4116) Schema attributeType SYNTAX declaration



Pierangelo Masarati wrote:

>>
>>
>>In a schema file declaration :
>>
>>When defining an attributeType SYNTAX, the following is not accepted any more :
>>SYNTAX ldapTypeString{60}
>>    
>>
>
>I don't think this was __ever__ accepted, since LDAP syntaxes don't have
>the notion of names; they're only recognized by OID.
>  
>
This syntax was allowed in 2.2.17, it is the migration to 2.3.11 that 
pointed out the problem in our schema file.
However the problem seems to be a bit more complicated, because the 
following syntax :

SYNTAX ldapAttributeTypes:15{60}
does not work either (sorry for the mistake in my first mail), but does not display the same error message.
in fact, both syntaxes are accepted when no length (like {60}) is specified. When a length is specified, only the full OID without macro is recognized.



>
>This is not a name: it's an OID built on top of an OID macro.  I think
>directly using an OID macro in general might be confusing with respect
>to descriptive names.  I understand this should not be the case with
>syntaxes, as they cannot have descriptive names.
>
>p.
>

Herve