directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <>
Subject Re: [ApacheDS] Adding a custom schema with 1.5.5
Date Thu, 05 Feb 2009 20:01:17 GMT
Hi Yiannis.

You can manage schema in ApacheDS in the same fashion that you would with
most ldap servers like for example SUN DS by operating on the schema
subentry usually found in cn=schema.

However ApacheDS has an additional area for manipulating schema in a much
easier form under ou=schema. Take a look at this link here for information
on how to manage schema in ApacheDS 1.5.x.


On Thu, Feb 5, 2009 at 11:58 AM, Yiannis Mavroukakis <> wrote:

> Hello everyone,
> I'm currently playing with ApacheDS, looking to integrate to to our
> production systems, but I've come up against a hard obstacle in the form of
> adding a custom schema
> .I cannot figure out the programmatic means to do this, having looked at
> the (obsolete I know) 1.0.x way, and trying to pick the source code apart to
> figure out how this is done. I've generated the custom schema and the
>  closest I've managed is the following
> directoryService.startup( );
> GameaccountSchema gaSchema = new GameaccountSchema( );
> gaSchema.enable( );       directoryService.getRegistries(
> ).getSchemaLoader( ).load( gaSchema ,directoryService.getRegistries( )
> ,false);
> This produces some output in the debug logs, but when I browse the server I
> don't see my custom schema there..Any help in doing this will be greatly
> appreciated!
> Thanks,
> Yiannis

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message