Check your debug logs (turn on debug for sync - see slapd.conf man page for debug number) and see if you can see the syncrepl lines.

Sellers

On Feb 11, 2008, at 4:43 AM, Ishklight wrote:

Buchan,

Thanks for the info. It worked!!
I have a small query here,

Now, how would I know if the consumer is actually replicating from the provider?
I tried to query from the consumer, but nothing resulted in the search.
Any pointers?

Thanks,
Imran



On Feb 8, 2008 9:03 PM, Buchan Milne <bgmilne@staff.telkomsa.net> wrote:
On Friday 08 February 2008 12:15:05 Ishklight wrote:
> Hi,
>
> I am a LDAP newbie. I am trying to set up LDAP producer and consumer. The
> producer cannot start when I include the overlay syncprov. I get the
> following when I debug and the server stops. Can any say, what is going
> wrong here?
>
> I see that there is module syncprov.la in the path given by "modulepath".

[...]

> overlay "syncprov" not found

It doesn't seem to try and load the syncprov.la ...

[...]

> loglevel    0
>
>  modulepath    /usr/local/openldap-2.4/libexec/openldap
>  moduleload    back_bdb.la
>  moduleload    syncprov.la

... assuming there was no copy/paste error here, probably because the critical
configuration lines above have leading spaces, which, as documented in the
slapd.conf man page, are used for line continuations on long configuration
lines.

Remove the leading spaces, and you should see syncprov being loaded. You may
want to check that you don't have invalid leading spaces in the rest of your
config, I didn't look at the rest carefully.

Regards,
Buchan


______________________________________________
Chris G. Sellers | NITLE  - Technology Team
AIM: imthewherd | GoogleTalk: cgseller@gmail.com