2014-02-18 12:50 GMT+01:00 Suresh Prajapati <er.sureshprajapati@gmail.com>:
Hi ,

We are migrating our infrastructure from Sun Solaris to AWS. So as a part of migration we need to do the transition from Sun Directory Server to OpenLDAP. 

I exported the user database in ldif file from Sun LDAP. Now I am trying to import the database in to OpenLDAP Server on Ubuntu which  I've installed in AWS. While importing the database I am getting a lots of error , because the sun schema for storing the users and openldap is totally different.

The issue  I'm currently stuck on is getting the data in the LDIF into a format that can be imported using slapadd/ldapadd

Any help would be appreciated 

Below are the details for Ubuntu Server and OpenLDAP

Server OS :

Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04

OpenLDAP Version :

slapd                           2.4.21-0ubuntu5.7                 OpenLDAP server (slapd)



Hi,

migrate from SUN to OpenLDAP is not a one day project, you have to study a lot of things like: schema, ACI, plugins, data, etc.

You can find some tips here: http://www.linid.org/projects/openldap-manager/wiki/MigrationSunOracle

I often use the convertldif.pl script to migrate data from SUN to OpenLDAP, see http://tools.ltb-project.org/projects/ltb/repository/entry/ldap-scripts/trunk/convertldif.pl


Clément.