Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an openldap ldif backup file daily that I want to replicate in other server. I add the data with slapadd -v -l file.ldif but can I update the changes that have occurred in my other ldap server with next ldif backup file?

I try with ldapmodify, ldapadd but i does not work properly.

share|improve this question

migrated from Oct 14 '12 at 2:13

This question came from our site for professional and enthusiast programmers.

If for some reason all masters are no longer able to synchronize, the mmldif tool can be used to generate the master database manually.

share|improve this answer

You can probably check perl ldap tools. They include utilities as ldapsort and ldapdiff. Which will give you the difference between both the LDAP data.

First sort the data with ldapsort using dn: & then create a diff. It will provide you a ldapmodify ready data, which will replace, add & delete attributes.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.