Short version: What is the best way to have one LDAP server replicate itself onto another and always have the slave stay in sync with the master?
Long Version (because people are always curious
):I have a windows domain environment setup completely with CentOS 5.2 + Samba & OpenLDAP. Currently we have two domain controllers, dc01 and dc02. Essentially a Primary Domain Controller (dc01) and a Backup Domain Controller (dc02) in case the PDC goes down, users can still authenticate. That part of the setup works flawlessly. My problem is currently I am having to export LDIF files from dc01 and import them into dc01, which is just plain annoying. So what is the best way to keep them in sync without me having to do it?