directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Schema definition (was : Re: [ApacheDS] Still can't get beyond 'mvn package' step)
Date Mon, 04 Jun 2007 20:42:13 GMT
Jo Jeeka a écrit :

>To update my situation.  We are using Netscape/SUN
>ldap and so there were some schema compatibilities I
>have encountered which I overcame.  Here is an example
>of syntax we had for our schema followed by my
>changes:
>
>
>attributeTypes: ( cospapprovaldate-oid NAME
>'cospapprovaldate'
>   SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
>   X-ORIGIN 'user defined' )
>
>
>1. attributeTypes was changed to attributetype
>(attributeType wouldn't work for me)
>
>2. There was a colon (:) after attribeTypes that
>needed to be removed
>
>3. We here create non-numeric oids so for our unit
>test schema I just changed zyz-oid to 1.1 .. 1.n
>
>4. Removed X-ORIGIN line from schema
>  
>

attributetype ( <1.1.1.....1.n>
    NAME 'cospapprovaldate'
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
    SINGLE-VALUE
 )

should be ok.

Just one thing : don't use 1.1.1.... as an OID. Apply for a PEN number ( 
http://pen.iana.org/pen/PenApplication.page ), which will be specific to 
your company.

Emmanuel

Mime
View raw message