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

Re: LDAP 2.3.43 Mater to Slave replication



On Thu, 25 Sep 2008, Proskurin Kirill wrote:

[...]
syncrepl rid=123
provider=ldap://172.16.1.2:389
type=refreshOnly
[...]

But slave ldap dont start with this error:

slapd[43092]: /usr/local/etc/openldap/slapd.conf: line 65: Error: Malformed "syncrepl" line in slapd config file, missing provider searchbase.
[...]
line 65 = syncrepl rid=123

Technically, "syncrepl" is the configuration directive, and everything else is that directive's parameter. So you could write:


"syncrepl rid=123 provider=ldap://...";

But that's going to get long/unwieldy. So slapd.conf(5) documents a line continuation mechanism:

If a line begins with white space, it is considered a continuation of the previous line. No physical line should be over 2000 bytes long.

You are not using this construct, and should be in this case.