directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Decker <>
Subject Re: [ApacheDS] 1.5 / Dynamic Scheme Loading / Subclassing
Date Thu, 02 Aug 2007 11:22:03 GMT
	Hallo Pierre-Arnaud,

I'm not allowed to post the whole file, but I can give you a lot of pieces:

	--- SNIP ---
# mySchema
# Generated by LDAP Studio on July 30, 2007 2:43:50 PM

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


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


dn: m-oid=, ou=objectClasses, cn=mySchema, ou=
objectclass: metaObjectclass
objectclass: metaTop
objectclass: top
m-name: mySchemaUser
m-description: User
m-supObjectClass: inetOrgPerson
m-supObjectClass: mySchemaBase
m-must: mySchemaUID
	--- SNIP ---

Im using the ApacheDS provided with "apacheds-1.5.0-linux-i386-setup.jar".
Eclipse 3.3 with Apache LDAP Studio Schemas Editor Plug-In 0.8.0.

I've converted my old schema into an ApacheDS Studio readable schema. (That 
was an hard work, because Studio crashes, if the schema attributes are not in 
an exact order :-/ But that is not the topic here).

After this, I've exported it with "Export for ApacheDS..."

It does not matter if I use automatically loading by saving the 
Schema-LDIF-File into my ldif-directory or I use Apache LDAB Browser... 

I get this error:
        --- SNIP ---
#!ERROR [LDAP: error code 65 - failed to add entry
myuid=myuser,ou=Users,dc=mydomain,dc=de: Attribute sn not declared in
objectClasses of entry myuid=myuser,ou=Users,dc=mydomain,dc=de]
        --- SNAP ---

If I restart the server after loading schema and try to load my data, there is 
no problem.

Any idea?

Thanks a lot,
	Michael Decker
Michael Decker                    
TESIS SYSware GmbH              
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

View raw message