<br><br><div class="gmail_quote">On Mon, Mar 19, 2012 at 2:42 PM, Rob Crittenden <span dir="ltr"><<a href="mailto:rcritten@redhat.com">rcritten@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dmitri Pal wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 03/17/2012 07:36 AM, Marco Pizzoli wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi guys,<br>
I'm trying to migrate my ldap user base to freeipa. I'm using the last<br>
Release Candidate.<br>
<br>
I already changed "ipa config-mod --enable-migration=TRUE"<br>
This is what I have:<br>
<br>
ipa -v migrate-ds --bind-dn="cn=manager,dc=<u></u>mydc1,dc=<a href="http://mydc2.it" target="_blank">mydc2.it</a><br></div>
<<a href="http://mydc2.it" target="_blank">http://mydc2.it</a>>" --user-container="ou=people,<u></u>dc=mydc1,dc=<a href="http://mydc2.it" target="_blank">mydc2.it</a><br>
<<a href="http://mydc2.it" target="_blank">http://mydc2.it</a>>" --user-objectclass=<u></u>inetOrgPerson<br>
--group-container="ou=groups,<u></u>dc=mydc1,dc=<a href="http://mydc2.it" target="_blank">mydc2.it</a> <<a href="http://mydc2.it" target="_blank">http://mydc2.it</a>>"<br>
--group-objectclass=posixGroup --base-dn="dc=mydc1,dc=<a href="http://mydc2.it" target="_blank">mydc2.<u></u>it</a><br>
<<a href="http://mydc2.it" target="_blank">http://mydc2.it</a>>" --with-compat ldap://ldap01<div class="im"><br>
ipa: INFO: trying <a href="https://freeipa01.unix.mydomain.it/ipa/xml" target="_blank">https://freeipa01.unix.<u></u>mydomain.it/ipa/xml</a><br>
Password:<br>
ipa: INFO: Forwarding 'migrate_ds' to server<br>
u'<a href="http://freeipa01.unix.mydomain.it/ipa/xml" target="_blank">http://freeipa01.unix.<u></u>mydomain.it/ipa/xml</a>'<br>
ipa: ERROR: Container for group not found at<br></div>
ou=groups,dc=mydc1,dc=<a href="http://mydc2.it" target="_blank">mydc2.it</a> <<a href="http://mydc2.it" target="_blank">http://mydc2.it</a>><div class="im"><br>
<br>
I looked at my ldap server logs and I found out that the search<br>
executed has scope=1. Actually both for users and groups. This is a<br>
problem for me, in having a lot of subtrees (ou) in which my users and<br>
groups are. Is there a way to manage this?<br>
<br>
Thanks in advance<br>
Marco<br>
<br>
P.s. As a side note, I suppose there's a typo in the verbose message I<br>
obtain in my output:<br>
ipa: INFO: Forwarding 'migrate_ds' to server<br></div>
*u*'<a href="http://freeipa01.unix.mydomain.it/ipa/xml" target="_blank">http://freeipa01.unix.<u></u>mydomain.it/ipa/xml</a>'<br>
</blockquote><div class="im">
<br>
Please open tickets for both issues.<br>
</div></blockquote>
<br>
Well, I don't think either is a bug.<br>
<br>
If you have users/groups in multiple places you'll need to migrate them individually for now. It is safe to run migrate-ds multiple times, existing users are not migrated.<br></blockquote><div><br>I just re-executed by specifing a nested ou for my groups.<br>

This is what I got:<br><br><span style="font-family:courier new,monospace">ipa: INFO: trying <a href="https://freeipa01.unix.csebo.it/ipa/xml">https://freeipa01.unix.csebo.it/ipa/xml</a></span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">ipa: INFO: Forwarding 'migrate_ds' to server u'<a href="http://freeipa01.unix.csebo.it/ipa/xml">http://freeipa01.unix.csebo.it/ipa/xml</a>'</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">-----------</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">migrate-ds:</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">-----------</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Migrated:</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Failed user:</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  fw03075_no: Type or value exists:</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  [other users listed]</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Failed group:</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  pdbac32: Type or value exists:</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  [other groups listed]</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">----------</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Passwords have been migrated in pre-hashed format.</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">IPA is unable to generate Kerberos keys unless provided</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">with clear text passwords. All migrated users need to</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">login at <a href="https://your.domain/ipa/migration/">https://your.domain/ipa/migration/</a> before they</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">can use their Kerberos accounts.</span><br>

<br>I don't understand what it's trying to telling me.<br>On my FreeIPA ldap server I don't see any imported user.<br><br>What's my fault here?<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<br>
The u is a python-ism for unicode. This is not a bug.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>Please, could you give a little more detail on this? It's only a hint on what that data represents in a Python variable?<br>

<br>Thanks again<br>Marco<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="HOEnZb"><font color="#888888">
<br>
rob</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Freeipa-users mailing list<br>
<a href="mailto:Freeipa-users@redhat.com" target="_blank">Freeipa-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/<u></u>mailman/listinfo/freeipa-users</a><br>
</div></div></blockquote></div><br>