Re: syncrepl partial copy
"Dieter Kluenter" <[email protected]>
| Newsgroups | gmane.network.openldap.general |
|---|---|
| Message-ID | <[email protected]> |
FRLinux <[email protected]> writes: > Hello, > > I am now facing a new issue which could well be due to me but I need > to be sure. I have set a new slave running 2.4.17 on Debian whilst the > master is a 2.3.43 running on FreeBSD 6.4. I have observed a similar > behavior on a slave running 2.3.43 also on FreeBSD. > > That behavior is that when you start an empty database, syncrepl > starts copying the content but usually stops after a while (ie. copies > only part of the database but far from all objects). > > Is it recommended to slapcat the objects when setting up a new slave > or is syncrepl able to do that by itself? > > This is my syncrepl rules: > > syncrepl rid=124 \ > provider=ldaps://masterldap.example.com:636 \ > type=refreshAndPersist \ > searchbase="dc=example,dc=com" \ > scope=sub \ > filter="(objectClass=*)" \ > attrs="*" \ > schemachecking=off \ > tls_cacert=/etc/ldap/cert/cacert.pem \ > binddn="cn=ldaprep,dc=example,dc=com" \ > credentials=xxxxxx Set proper limits on provider and consumer, otherwise the default limit settings are applicable to cn=ldaprep,dc=example,dc=com. -Dieter -- Dieter Klünter | Systemberatung http://dkluenter.de GPG Key ID:8EF7B6C6 53°37'09,95"N 10°08'02,42"E