[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: LDAP 2.3.43 Mater to Slave replication
Hi
I haven't read what
>updatedn=""cn=replicator,ou=sys,dc=domain,dc=org"
does, but I don't think you need it.
What you do need to to is to remove one of the " you are using in:
updatedn and binddn
binddn=""cn=replicator,ou=sys,dc=domain,dc=org"
should be
binddn="cn=replicator,ou=sys,dc=domain,dc=org"
--
Petter Solgaard
>-----Original Message-----
>From:
>openldap-software-bounces+petter.solgaard=ntnu.no@OpenLDAP.org
>[mailto:openldap-software-bounces+petter.solgaard=ntnu.no@OpenL
DAP.org] On Behalf Of Proskurin Kirill
>Sent: Thursday, September 25, 2008 9:52 AM
>To: openldap-software@openldap.org
>Subject: 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
>
>