Import LDIF file to external server

Posted by colemanm on Server Fault See other posts from Server Fault or by colemanm
Published on 2010-01-15T16:02:10Z Indexed on 2010/04/08 5:03 UTC
Read the original article Hit count: 385

Filed under:
|
|
|

As a follow-up to my previous question, which I've resolved part of, what we're trying to do now is take an exported .ldif file of the "Users" container on our OS X Server and import it into a separate OpenLDAP server on an EC2 instance. This we'll use for LDAP user authentication of other apps without having to open our internal network to LDAP traffic.

The exported .ldif file thinks the DN of the "Users" container is cn=users,dc=server,dc=domain,dc=com. Is it easiest to configure the EC2 OpenLDAP server to think that it's domain is the same so the container is imported to the proper place? Or should we edit the text of the .ldif file to change the DN to match the external naming?

Hopefully that makes sense... but I'm confused as to the best way to accomplish this.

© Server Fault or respective owner

Related posts about ejabberd

Related posts about amazon-ec2