Score:0

OpenLDAP meta backend with different directory structure

ax flag

I am working on a project and we need to "combine" two completely different Active Directory (AD) servers to one. I have found that OpenLDAP might provide a solution by providing a reverse proxy with the meta backend. However, as the documentation for this backend is incomplete and the tutorials and guides are fairly old I am not certain if this works.

My question is if it is possible for me to combine the following two active directory servers into a new one where both servers have a completely different naming context.

Server 1: dc=container,dc=aws-2,dc=myamazingcompany,dc=local

Server 2: OU=Amsterdam,OU=NL,OU=Employees,DC=myamazingcompany,DC=com

These two servers should merge into the following naming context:

New server: dc=mycompany,dc=com

Is this somehow possible?

Thanks!

pt flag
What have you tried so far? I wrote [this article](https://blog.oddbit.com/post/2010-02-16-merging-directories-with-openl/#set-up-meta-database) way back in 2010 that has an example of using the meta backend; it's a bit dated at this point but perhaps it will provide some ideas.
Guusda avatar
ax flag
Hi Larsks! Thanks for your very informative article. I indeed already followed the instructions you mentioned in your article. Problem with that is that the structures of the servers that I need to "merge" is not even partly identical. The data, which is saved in those servers however is identical. Therefore, my efforts usually end with the error message telling me that the context is not the same and I should make sure that they are (partly) identical. My goal is in the end to receive the credentials from one server and the specific groups from another server.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.