How to sync directories with similar yet slightly different schemas?

Hi All,

sorry for asking such a newbie question, but I have to solve the problem of synchronising two dirctory servers with slightly different schemas. Both hold personell data, server 1 is the old one, server two the new one, with extended and slightly modified schema. Now server two gets populated by an hr-feed. For compatibility reasons we need to keep server 1 alive and in sync for at least the next two years.

As the schemas are different, I cannot use replication.

What would you guys suggest? Program a plug-in, that analyzes every incoming request to server 2, modifies the data and triggers off a request to server 1 - or rather program some sort of a harvester that uses ldap entry change notification controls?

Or is there a much simpler solution?

Many thanks for any insight -

Cheers, Stefan!

[850 byte] By [stefvienna] at [2007-11-26 8:24:05]
# 1
I believe you are doing writes / updates to ldap2. if so how much of a difference you have in schema? can you update the schema differences in LDAP1? if yes the you can use replication. other then i dont think you will have a easy way to keep the DB's insync with different set of schema.
hfaruqi at 2007-7-6 21:34:43 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Well, there are tools to do just that. We use IDI (IBM directory integrator --yes with sun directories). I am sure there are similar solutions with Sun products. You can always develop a pre or post operation trigger. I if it does not have to be real time, you may be able to extract all the data from both directories, compare it, and generate and ldif with the difference, and... Buy IDI or a similar product (I think MS Meta Directory does it too)

Enrique at 2007-7-6 21:34:43 > top of Java-index,Web & Directory Servers,Directory Servers...