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

trying to extend my schema but ....



Hi,
I'm trying to extend my openldap schema with private objectclass and attributes : 
attributetype ( 1.1.2.1.1
          NAME 'birth'
          EQUALITY generalizedTimeMatch
          ORDERING generalizedTimeOrderingMatch
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
          SINGLE-VALUE )
 
attributetype ( 1.1.2.1.2
          NAME 'arrivee'
          EQUALITY generalizedTimeMatch
          ORDERING generalizedTimeOrderingMatch
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
          SINGLE-VALUE )
objectclass ( 1.1.2.2.1 NAME 'myDiwanPerson'
     DESC 'my Diwan persons'
     AUXILIARY
     MAY ( 'birth' $ 'arrivee' ) )
 
objectclass ( 1.1.2.2.2 NAME 'myPerson'
     DESC 'Diwan persons'
     SUP inetOrgPerson
     MUST 'uid'
     MAY ( 'birth' $ 'arrivee' ) )

and here is the error returned  :

/usr/local/etc/openldap/schema/test_ldap.schema: line 18: Unexpected token before  $ 'arrivee' ) )

what's the matter with the syntax ?

I refer to the administration guide of openldap, i've tryed many others syntax but it doesn't work !
Could you give me an example of your own experience ?
please help !!!!

Samuel GAUTIER