[Date Prev][Date Next]
Re: syncrepl LDIF kickstart file
Scott Classen wrote:
syncrep[l overlay has been added to the database configuration directive).
Hello openldap community,
I have openldap 2.4.6 running on 2 machines.
one master server with a BDB database acting as the syncrepl provider (the
playing around with it trying to get it to act as a syncrepl consumer.
I now have set up a second machine also running openldap 2.4.6 and I've
I remember reading somewhere in the openldap documentation that it should
fairly straight forward with a simple 10-12 line LDIF file to get the synrepl
consumer synched up with the provider.
Can someone please post an example of such a simple kickstart file?
Sounds vaguely like you want this
(from http://www.openldap.org/pub/hyc/LDAPcon2007s.pdf page 20)
olcsyncrepl: rid=001 provider=$URI binddn="cn=config" bindmethod=simple
credentials=$CONFIGPW searchbase="cn=config" type=refreshOnly
Slapadding this will fully initialize a new server if you point it at an
existing provider, but of course you need to have the syncprov overlay
configured on the config database of the provider.
See test049 in the test suite for a more detailed example.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/