Docunext


Setup LDAP syncrepl again

May 5th, 2008

I setup syncrepl for slapd on lisa132 today, its pretty easy, just have to add a couple of things to /etc/ldap/slapd.conf:

rootdn ...
moduleload  syncprov
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
syncrepl rid=132        provider=ldap://255.255.255.255:389        type=refreshOnly        interval=00:00:01:00        searchbase="dc=example,dc=com"        filter="(objectClass=*)"        scope=sub

Note - after doing this, I checked my setup with ldapsearch. I still had to use the basedn flag:

ldapsearch -x -b dc=example,dc=com

¥

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022