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

LDAP 2.3.43 Mater to Slave replication



Hello!

Im trying to set a Ldap replication on FreeBSD 6.3 system. First im try to use sluprd but run in many strange thing and then read what it is near to deprecation.

Then im try to use sysrepl.
Im read docs and add this to slapd.conf:

Master:

database   bdb
suffix        "dc=domain,dc=org"
rootdn        "cn=root,dc=domain,dc=org"

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100


Salve:

database   bdb
suffix          "dc=domain,dc=org"
rootdn        "cn=root,dc=domain,dc=org"

syncrepl rid=123
provider=ldap://172.16.1.2:389
type=refreshOnly
interval=0:01:00:00
searchbase="dc=domain,dc=org"
filter="(objectClass=*)"
scope=sub
attrs="*,+"
schemachecking=off
bindmethod=simple
binddn=""cn=replicator,ou=sys,dc=domain,dc=org"
updatedn=""cn=replicator,ou=sys,dc=domain,dc=org"
credentials=123

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.
slapd[43092]: failed to add syncinfo
slapd[43092]: slapd stopped.
slapd[43092]: connections_destroy: nothing to destroy.



line 65 = syncrepl rid=123

Im do something wrong? What im need to fix?

--
Best regards,
Proskurin Kriill