[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Dynamic schema update


First of all, thanks for the fast reply!

Could you please elaborate on these issues:

1. What is the 'back-config' ? I didn't find it under the slapd
directory (in the source code), where the other back-ends are.

2. Regarding what I meant by 'update', let me refine the question, is it
possible to: add, delete or rename an object-class or an attribute,
assuming that for some operations, there should be no data (i.e., in
Oracle, you can delete a field only if the table is empty).

3. Since it appears that the slapd.d man page is missing, could you
kindly explain, if in the 2.3 series, the "cn=config" tree _always_
exists, or you should explicitly create it. And assuming that it exists,
does changing it, automatically takes effect in the server (or you
should do something additional).

Thanks in advance,

On Mon, 2006-08-14 at 16:18 +0200, Buchan Milne wrote:
> On Monday 14 August 2006 09:16, Eran Leiserowitz wrote:
> > Hello,
> >
> > I'm a new OpenLDAP user, so sorry for the newbie question. I searched
> > the list archives, but did not succeed to find an answer for this
> > question.
> >
> > Is there a possibility to update the schema dynamically. That is, in SQL
> > you can perform DDL (data definition language) operations, to update the
> > data schema. So, is there a way to do it in OpenLDAP (besides the
> > obvious way of stopping and starting the server).
> Yes, in OpenLDAP it can be done via back-config. In some other LDAP servers, 
> it is possible to write directly to the dn listed in subschemaentry.
> Note that exactly what you mean by "update" may also affect the answer. If you 
> mean "modify a schema that already exists on the LDAP server", for OpenLDAP 
> the answer is "no", schema writes only apply to adding new schemas (AFAIK).
> Regards,
> Buchan