For performance issues (millions or records) I have two ldap servers:- one master with an sql backend (postgres) to allow easy data manipulation- one slave to anwer ldap queries and provide good response time