directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Decker <M.Dec...@tesis.de>
Subject Re: [ApacheDS] 1.5 / Dynamic Scheme Loading / Subclassing
Date Mon, 06 Aug 2007 08:29:42 GMT
	Hi Pierre-Arnaud,

I'm confused. I've wrote an little sample to test my reported schema problem.

And this test works.

I don't understand this... Perhaps I can figure out, what the difference is.

Here the sample data...

Schema:
	--- SNIP ---
# mytest
# Generated by LDAP Studio on August 3, 2007 10:59:46 AM

dn: cn=mytest, ou=schema
objectclass: metaSchema
objectclass: top
cn: mytest
m-dependencies: system
m-dependencies: inetorgperson

dn: ou=attributeTypes, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: attributetypes

dn: m-oid=1.3.6.1.4.1.13571.100.99001, ou=attributeTypes, cn=mytest, ou=schema
objectclass: metaAttributeType
objectclass: metaTop
objectclass: top
m-oid: 1.3.6.1.4.1.13571.100.99001
m-name: testAttribute
m-description: My Test Attribute
m-supAttributeType: distinguishedName
m-singleValue: TRUE

dn: m-oid=1.3.6.1.4.1.13571.100.99005, ou=attributeTypes, cn=mytest, ou=schema
objectclass: metaAttributeType
objectclass: metaTop
objectclass: top
m-oid: 1.3.6.1.4.1.13571.100.99005
m-name: testAttributesecond
m-equality: caseIgnoreMatch
m-ordering: caseIgnoreOrderingMatch
m-substr: caseIgnoreSubstringsMatch
m-syntax: 1.3.6.1.4.1.1466.115.121.1.15

dn: ou=comparators, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: comparators

dn: ou=ditContentRules, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: ditcontentrules

dn: ou=ditStructureRules, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: ditstructurerules

dn: ou=matchingRules, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: matchingrules

dn: ou=matchingRuleUse, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: matchingruleuse

dn: ou=nameForms, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: nameforms

dn: ou=normalizers, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: normalizers

dn: ou=objectClasses, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: objectClasses

dn: m-oid=1.3.6.1.4.1.13571.100.99004, ou=objectClasses, cn=mytest, ou=schema
objectclass: metaObjectclass
objectclass: metaTop
objectclass: top
m-oid: 1.3.6.1.4.1.13571.100.99004
m-name: testObjectSecond
m-supObjectClass: inetOrgPerson
m-must: testAttributesecond

dn: m-oid=1.3.6.1.4.1.13571.100.99003, ou=objectClasses, cn=mytest, ou=schema
objectclass: metaObjectclass
objectclass: metaTop
objectclass: top
m-oid: 1.3.6.1.4.1.13571.100.99003
m-name: testSupObject
m-description: Test Super Class;type=base
m-typeObjectClass: ABSTRACT
m-must: cn

dn: m-oid=1.3.6.1.4.1.13571.100.99002, ou=objectClasses, cn=mytest, ou=schema
objectclass: metaObjectclass
objectclass: metaTop
objectclass: top
m-oid: 1.3.6.1.4.1.13571.100.99002
m-name: testObject
m-description: Test Class 1
m-supObjectClass: testSupObject
m-must: testAttribute

dn: ou=syntaxCheckers, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: syntaxcheckers

dn: ou=syntaxes, cn=mytest, ou=schema
objectclass: organizationalUnit
objectclass: top
ou: syntaxes
	--- SNAP ---

Data:
	--- SNIP ---
dn: ou=mytestdata+description=Folder saving same test data,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
description: Folder saving same test data
ou: mytestdata

dn: cn=entry01+testAttribute=some data....,ou=mytestdata+description=Folder
  saving same test data,dc=example,dc=com
objectClass: testObject
objectClass: testSupObject
objectClass: top
cn: entry01
testattribute: some data....

dn: cn=entry02+sn=SN+testattributesecond=Some information,ou=mytestdata+des
 cription=Folder saving same test data,dc=example,dc=com
objectClass: organizationalPerson
objectClass: person
objectClass: inetOrgPerson
objectClass: testObjectSecond
objectClass: top
cn: entry02
sn: SN
testattributesecond: Some information
	--- SNAP ---

Regards,
	Michael Decker
-- 
Michael Decker                              M.Decker@tesis.de
TESIS SYSware GmbH                        http://www.tesis.de
Baierbrunner Str. 15 * 81379 Muenchen * Tel. +49 89 747377-52

Geschäftsführung: Dipl.-Math. Gerhard Zipf,
                  Dipl.-Math. Alfons Weber
Sitz und Registergericht: München HRB 89277

Mime
View raw message