[Pkg-openldap-devel] Bug#759362: Bug#759362: slapd: Missing objectClass olcSyncProvConfig in cn=schema.ldif

Ryan Tandy ryan at nardis.ca
Tue Aug 26 19:01:44 UTC 2014


Control: tags -1 + moreinfo unreproducible

Hi Ruud,

On Tue, Aug 26, 2014 at 11:01 AM, Ruud Baart <r.j.baart at prompt.nl> wrote:
> While configuring the syncprov overlay I discovered the the objectClass olcSyncProvConfig was missing.

Can you please provide an example of a configuration that reproduces
this? Starting from a newly-installed slapd, the following LDIF:

dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: syncprov

dn: olcOverlay=syncprov,olcDatabase={1}hdb,cn=config
changetype: add
objectClass: olcSyncProvConfig
olcSpNoPresent: TRUE
olcSpReloadHint: TRUE

works correctly for me. The olcSyncProvConfig object class and its
attributes appear in the schema as soon as the module is loaded.

> This objectclass should be available in /etc/ldap/slapd.d/cn=config/cn=schema.ldif. The solution was quite simple: replace cn=schema.ldif with the information that can be found here: http://www.zytrax.com/books/ldap/ape/cn=schema.txt.

Thanks for the suggestion, but this is the wrong solution. For one
thing the files under /etc/ldap/slapd.d are private data of slapd and
should never be modified by hand; and for another thing
olcSyncProvConfig is internal schema that should be supplied by slapd
itself, not by the user.

thanks,
Ryan



More information about the Pkg-openldap-devel mailing list