Btw, this thread should be sent on the users mailing list, not on the
dev mailing list. Thanks.
See comments on line.
Le 9/11/12 12:21 PM, Merve Temizer a écrit :
I have checked out ApacheDS from svn a week ago.
When i try to import same file again it gives non unique id exception.
I think it is because that it can save attributes somewhere but not the
class.
I am going to try without newline.
There is also a bug in the ObectClass : a missing $ between orgCountry
and orgCity. Plus you must have a space on any starting line. The
correct file should be :
dn: cn=schema
changetype: modify
add: attributeTypes
attributeTypes: ( 2.25.128424792425578037463837247958458780603.32
NAME 'orgName'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.33
NAME 'orgPhone'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.34
NAME 'orgFax'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.35
NAME 'orgContactName'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.36
NAME 'orgCountry'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.37
NAME 'orgCity'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.38
NAME 'orgAddress'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
-
add: objectClasses
objectClasses: ( 2.25.128424792425578037463837247958458780603.39
NAME 'myOrganization'
DESC 'myOrganization'
SUP organizationalUnit
STRUCTURAL
MAY ( orgName $ orgPhone $ orgFax $ orgContactName $ orgCountry
$ orgCity $ orgAddress)
)
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com