Im using this schema:
/atributetype ( 1.3.6.1.4.1.2000.1.1 NAME 'id'
       EQUALITY caseIgnoreIA5Match
       SUBSTR caseIgnoreIA5SubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.34{20} )

atributetype ( 1.3.6.1.4.1.2000.1.2 NAME 'subProfiles'
       EQUALITY caseIgnoreIA5Match
       SUBSTR caseIgnoreIA5SubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.34{20} )


## Profile
objectclass ( 1.3.6.1.4.1.2000.2.1 NAME 'profile' SUP top STRUCTURAL
MUST id
MAY ( mod $ subProfiles ) )

atributetype ( 1.3.6.1.4.1.2000.1.3 NAME 'name'
       EQUALITY caseIgnoreIA5Match
       SUBSTR caseIgnoreIA5SubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.34{20} )

atributetype ( 1.3.6.1.4.1.2000.1.4 NAME 'flag'
       EQUALITY caseIgnoreIA5Match
       SUBSTR caseIgnoreIA5SubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{2} )


objectclass ( 1.3.6.1.4.1.2000.2.2 NAME 'mod' SUP profile STRUCTURAL
MUST name,flag )/

and when i try to do
/slapadd -v -l file/
the result is:
/slapadd: bad configuration file!/


the file is:
/dn: id=Perfile 1,dc=k2comp
id: Perfile 1
objectClass: profile
subProfiles: perfile 2
/

thanx

Reply via email to