You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Jeroen Vriesman <li...@gmail.com> on 2008/05/09 17:13:25 UTC
import openldap schema files with directory studio
Hi,
trying to convert other schema's with directory studio.
This is a piece of an openldap schema file:
attributetype ( 1.3.6.1.4.1.10098.1.1.6.2 NAME 'academicTitle'
DESC 'Field to represent the academic title'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
attributetype ( 1.3.6.1.4.1.15305.2.1 NAME ( 'gender' 'sex' )
DESC 'Gender: M for male, F for female' <--- line 226
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1}
SINGLE-VALUE )
Import says:
can not be read correctly.
Line: 226, Column: 14, Cause: expecting ''', found ' '
Error is the same if I try it with only NAME 'gender', changing the order,
or remove the , and : from DESC doesn't help eiher.
What could be causing this?
Regards,
Jeroen.
Re: import openldap schema files with directory studio
Posted by Emmanuel Lecharny <el...@apache.org>.
Jeroen Vriesman wrote:
> Hi,
>
> trying to convert other schema's with directory studio.
>
> This is a piece of an openldap schema file:
>
> attributetype ( 1.3.6.1.4.1.10098.1.1.6.2 NAME 'academicTitle'
> DESC 'Field to represent the academic title'
> EQUALITY caseIgnoreIA5Match
> SUBSTR caseIgnoreIA5SubstringsMatch
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
>
> attributetype ( 1.3.6.1.4.1.15305.2.1 NAME ( 'gender' 'sex' )
> DESC 'Gender: M for male, F for female' <--- line 226
> EQUALITY caseIgnoreIA5Match
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1}
> SINGLE-VALUE )
>
> Import says:
>
> can not be read correctly.
> Line: 226, Column: 14, Cause: expecting ''', found ' '
>
The parser is a little bit too strict, as it accept only one space
between 'desc' and the first quote.
I consider this to be too much, so can you fill a JIRA so that we relax
this too tight constraint in the next version ?
Thanks !
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org