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

RE: overlay "syncprov" not found

Jaap -

Thank you so much for your help - removing the white space before the moduleload commands did the trick!  I really should have noticed that but I think I was focusing too much on the error message and not on the simple things.  Also, I wasn't aware that slapd was that picky about its configuration file; I'll keep that in mind the next time I edit this file.  Thanks again for your help and the quick response!

- Andy

-----Original Message-----
From: Jaap Winius [mailto:jwinius@umrk.nl]
Sent: Saturday, January 09, 2010 4:00 PM
To: openldap-technical@openldap.org
Subject: Re: overlay "syncprov" not found

Quoting Andrew Debenham <adebenham@sotech1.com>:

> Checking configuration files for slapd:                    [FAILED]
> overlay "syncprov" not found
> slaptest: bad configuration file!

As you probably already know, the syncprov module needs to be loaded
*before* the syncprov overlay is invoked. From your config file, it
looks like you understand that, but the error suggests that the module
is not being loaded anyway. I think I see why:

> # moduleload retcode.la
> # moduleload rwm.la
>  moduleload syncprov.la
> # moduleload translucent.la

It's that leading space on the line that loads the syncprov module:
remove it. Unlike many other types of config files, in slapd.conf
lines with leading spaces are seen as continuations of previous lines.
So, since the line above it is a comment, with that leading space
there your instruction to load the syncprov module is still commented



This email and any attachments may be confidential and are intended solely for the use of the individual to whom it is addressed.

If you are not the intended recipient of this email, the following stipulations govern the use of this information:  You may not take any action based upon its contents.  You may not copy or show this message or attachments to anyone. You should contact the sender and subsequently delete this message and all attachments.

Any views or opinions expressed are solely those of the author and do not necessarily represent those of Special Operations Technology, Incorporated.

While antivirus software has been applied, you should perform due diligence to check this email and attachments for the presence of viruses.  No warranties or assurances are made in relation to the safety and content of this email and attachments.  Special Operations Technology, Incorporated accepts no liability for any damages caused by any virus transmitted by or contained in this email and attachments.

No liability is accepted for any consequences arising from this email transmission whatsoever.

Special Operations Technology, Incorporated is a premier IT professional services firm focused in the government and law enforcement space.