I think you need to make the server only writable by the current session using the
control to prevent other clients from making inconsistent updates.

Also it's a good idea to add parameters into the schema service and the configuration
that could control this.

Overall it's a good idea to be able to control the server in this fashion however it does
not come without risk.  If you can write code to actually push schema into ou=schema
properly in the order of dependency leaves first then this would be a easier task for
you than writing the control.  However we could support this but it will not be a simple


On 6/12/07, Ersin Er <ersin.er@gmail.com> wrote:

It can be possible by disabling the Schema Service at runtime. This
can be done by a stored procedure or by a special entry which tracks a
special value for schema enabling/disabling. But I am not sure about
its side effects.

On 6/12/07, Pierre-Arnaud Marcelot <pa@marcelot.net> wrote:
> Hi Directory developers,
> I'm currently working on the Dynamic Schema Editor for Apache Directory
> Server.
> I have already managed to get the Schema from the DIT and transform into
> Java objects.
> I was wondering if we could create a control that can enable or disable the
> schema check done by the server when modifying the ou=schema subtree ?
> It could be very helpful to be able to disable the schema check to authorize
> the dynamic schema editor to reorganize the schema doing multiple
> add/delete/modify operations (removing an attribute type even if another
> object depends on that one, for example).
> Do you think this is possible ?
> Thanks,
> P-A M.

Ersin Er

R.A. and Ph.D Student at the Dept. of Computer Eng. in Hacettepe University

Committer and PMC Member of The Apache Directory Project