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

Re: How to add a new schema on N-way multi-master with legacy config



You will probably need to edit your slapd.conf file too. i.e. add a line like:

include     /usr/local/etc/openldap/schema/kerberos.schema

before restarting slapd

> On Oct 9, 2018, at 11:32 PM, Martin Božič <martin.bozic@arnes.si> wrote:
> 
> Hello,
> 
> We've inherited an N-way multi-master setup (based on CentOS OpenLDAP v. 2.4.39) which was setup with text conf in slapd.conf instead of online configuration in cn=config.
> 
> Due to various dependencies from other internal systems we can't migrate to online configuration quickly, but we to urgently have to add an additional schema to our cluster. My Google-fu and wading through the openldap list archives was unsuccessful.
> 
> I suppose that adding a new schema to such a setup would require the
> following steps:
> 
> 1. stop all instances in the cluster
> 2. add schema to all instances to /etc/openldap/schema
> 3. start all instances in the cluster
> 
> Would this be the correct approach or is there something else I
> should be aware of?
> 
> Regards,
> Martin Božič
>