<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>RE: [Freeipa-users] Migrate data from OpenLdap to FreeIPA</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Thanks Rob very much. I will try of course on the test system :)<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Rob Crittenden [<A HREF="mailto:rcritten@redhat.com">mailto:rcritten@redhat.com</A>]<BR>
Sent: Tue 6/30/2009 12:58 AM<BR>
To: Thu Nguyen<BR>
Cc: freeipa-users@redhat.com<BR>
Subject: Re: [Freeipa-users] Migrate data from OpenLdap to FreeIPA<BR>
<BR>
Thu Nguyen wrote:<BR>
> Dear all,<BR>
><BR>
> <BR>
><BR>
> I did use OpenLDAP for our system which used to authenticate all web<BR>
> services (bugzilla, svn,..) and mail service (dovecot) . Now I would<BR>
> like to replace it by FreeIPA. Would you please instruct (step-by-step<BR>
> if possible) how to migrate all data/structures from OpenLDAP to FreeIPA?<BR>
><BR>
<BR>
We don't currently have instructions on how to do this.<BR>
<BR>
Basically what you need to do is:<BR>
<BR>
- install freeIPA<BR>
- get an ldif dump of your OpenLDAP server<BR>
- remove any unneeded structural and configuration options from the ldif<BR>
- convert this ldif to the IPA DIT<BR>
- load the ldif<BR>
<BR>
You can see the DIT we use at <A HREF="http://freeipa.org/page/UsingRhdsWithIpa">http://freeipa.org/page/UsingRhdsWithIpa</A><BR>
<BR>
When converting to our DIT you'll also need to ensure that the user<BR>
entries are set up properly. This means having:<BR>
<BR>
- the krbprincipalname attribute set to <uid>@<REALM><BR>
- update the objectclass list<BR>
- set gidnumber to the ipausers group<BR>
<BR>
You'll end up with a bunch of users that will work with simple auth but<BR>
don't have kerberos keys yet so kinit will fail. You'll need to create<BR>
some mechanism where they authenticate using their user password in<BR>
order to get kerberos keys.<BR>
<BR>
And of course, do this on a test system first to make sure I haven't<BR>
missed something :-)<BR>
<BR>
rob<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>