0

I'm trying to create a distributed OpenLDAP server where everything under a subtree is split into different servers.

For example, I have ou=users,dc=ldap. I have users under it in a flat structure, no hierarchy, just a plain list. I want to split the entries under ou=users,dc=ldap into different servers. How do I do that?

3
  • 1
    What is the actual problem you're trying to solve with multiple servers? Because as it stands what you're trying to do doesn't make much sense...
    – HBruijn
    Jul 8, 2014 at 9:55
  • What criteria would you use when deciding which server a chunk of this flat structure is on? Question doesn't really make sense.
    – user207421
    Jul 9, 2014 at 3:29
  • Well the list of users reaches up to millions. I wanted them split. As for the criteria, I haven't thought of that yet. Probably some attribute of the entry.
    – Carlo
    Jul 10, 2014 at 4:39

1 Answer 1

2

With LDAP referrals. What is that? When a client connects to a LDAP server that does not contain the needed information, the server will tell the client to ask from some other server.

OpenLDAP fully supports this on the server-side and the admin guide has a section called Constructing a Distributed Directory Service.

3
  • Although referrals work on splitting a branch off a directory tree and @Carlo has a flat structure...
    – HBruijn
    Jul 8, 2014 at 8:28
  • Nevertheless there is no answer that doesn't require the OP to define further subtrees. It could also be accomplished via the LDAP back end.
    – user207421
    Jul 9, 2014 at 3:31
  • I see. I guess I have no choice but to create a hierarchy for the users. I'm also curious about how to solve this via the LDAP back end. How do I do that?
    – Carlo
    Jul 10, 2014 at 5:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .