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

Ryan Tandy ryan at nardis.ca
Tue Aug 26 22:22:07 UTC 2014


Hi Ruud,

On 26/08/14 12:28 PM, Ruud Baart wrote:
> I assume that I was wrong. According to your explanation I made the
> mistake by copying the configuration from other LDAP servers and editing
> files. If it is correct that it is an internal schema that comes
> available with the appropriate ldapadd, I probably worked in a wrong manner:
>
>     (1) I  copied the complete slap.d directory from a other server with
>     the same LDAP
>     (2) I edited cn=module{0}.ldif, added the line olcModuleLoad:
>     {1}syncprov (and others)
>     (3) restarted slapd

This is not a supported way of editing the configuration. It can be 
modified online with ldapmodify like my earlier example, or offline 
using slapcat/slapadd (see http://serverfault.com/a/618178 for an 
example of the latter).

> Then I wanted to configure syncprov with Softerra LDAP administrator.
> There I could not found the objectClass olcSyncProvConfig. After some
> googling I found it in the URL I mentioned. I replaced cn=schema.ldif
> and after that I was able to configure syncprov with Softerra LDAP
> administrator. This way of working is fast but probably not allowed.

I can't explain this. It may be a bug or misconfiguration in your 
Softerra tool. For me, even after editing cn=module{0}.ldif directly 
like you did and starting slapd, the live schema as queried by

ldapsearch -H ldapi:// -QY EXTERNAL -LLL -s base -b cn=schema,cn=config

or

ldapsearch -x -LLL -s base -b cn=Subschema +

does contain the olcSyncProvConfig object class.

thanks,
Ryan



More information about the Pkg-openldap-devel mailing list