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

Re: (ITS#4116) Schema attributeType SYNTAX declaration



On Mon, 2005-11-07 at 12:06 +0000, hager@transgene.fr wrote:

> 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.

Should be fixed in HEAD; you may safely apply the patch 

libraries/libldap/schema.c
new revision: 1.74; previous revision: 1.73

to 2.3.11.

Please test and report.  Thanks for pointing out the issue. p.

> 
> 
> 
> >
> >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
> 
> 




Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------