Ldap – Replicate portion of an LDAP directory to external server

authenticationejabberdldapreplicationxmpp

We're in the process of setting up a Jabber server on Amazon EC2 right now, and we'd like to have our internal users authenticate via LDAP so we don't have to create/manage a separate set of user accounts than the master directory in the office.

My question is: is there a way to copy, unidirectionally, a segment of our internal LDAP directory (the user accounts OU) to an external LDAP server and authenticate Jabber against that?

We're trying to work around having our externally hosted machines out in the cloud accessing our internal network directly… If we can replicate in one direction only a subset of the user accounts, then if that gets compromised we don't necessarily have a critical security breach into our internal network.

Best Answer

you can export part of your ldaptree with ldapsearch to an ldif file and add it too your other ldap server with ldapadd or ldapmodify.

there are also products which support automatic or semi automatic replication in one direction like the fedora directory server.

jabber can be authenticated against ldap, but i can't tell you how. perhaps someone else can answer this part.

Related Topic