<div dir="ltr"><div>$ rpm -q ipa-server<br>ipa-server-3.3.3-28.el7.centos.1.x86_64<br><br></div>I was thinking that this might be an issue with the rhel7 version. I'm going to be trying the same migration tonight on rhel6. I know the IPA version is older, and samba stuff might not work as it does in 3.3. I haven't looked in RHEL 6.6 yet to see what version of IPA is available.<br><br>Clint<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 1:16 PM, Rob Crittenden <span dir="ltr"><<a href="mailto:rcritten@redhat.com" target="_blank">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"><div class="HOEnZb"><div class="h5">Ludwig Krispenz wrote:<br>
><br>
> On 10/14/2014 06:58 PM, Clint Savage wrote:<br>
>> Hi all,<br>
>><br>
>> I've been working on a migration plan using three custom user<br>
>> objectClasses and one group objectclass. In my attempt, I've setup an<br>
>> openldap server with the proper schemas, imported the ldif and have<br>
>> records that look something like this in ldif format.<br>
>><br>
>> -----------------------------------------------------------------------<br>
>><br>
>> dn: dc=example,dc=com<br>
>> objectClass: top<br>
>> objectClass: domain<br>
>> dc: example<br>
>><br>
>> dn: ou=Groups,dc=example,dc=com<br>
>> objectClass: top<br>
>> objectClass: organizationalunit<br>
>> ou: Groups<br>
>><br>
>> dn: ou=People,dc=example,dc=com<br>
>> objectClass: top<br>
>> objectClass: organizationalunit<br>
>> ou: People<br>
>><br>
>> dn: uid=amyengh,ou=People,dc=example,dc=com<br>
>> objectClass: inetOrgPerson<br>
>> objectClass: posixAccount<br>
>> objectClass: top<br>
>> objectClass: organizationalPerson<br>
>> objectClass: person<br>
>> objectClass: radiusProfile<br>
>> objectClass: sambaSamAccount<br>
>> objectClass: customPersonAttributes<br>
>> cn: Amy Engh<br>
>> gidNumber: 1141801056<br>
>> homeDirectory: /home/amyengh<br>
>> sn: Engh<br>
>> uid: amyengh<br>
>> uidNumber: 1141801056<br>
>> displayName: Amy Engh<br>
>> givenName: Amy<br>
>> loginShell: /sbin/nologin<br>
</div></div>>> mail: <a href="mailto:amyengh@attask.com">amyengh@attask.com</a> <mailto:<a href="mailto:amyengh@attask.com">amyengh@attask.com</a>><br>
<div><div class="h5">>> userPassword:: REDACTED<br>
>> dialupAccess: yes<br>
>> radiusTunnelMediumType: IEEE-802<br>
>> radiusTunnelPrivateGroupId: 1421<br>
>> radiusTunnelType: VLAN<br>
>> emailPassword:: REDACTED<br>
>> sambaAcctFlags: [U          ]<br>
>> sambaLMPassword: REDACTED<br>
>> sambaNTPassword: REDACTED<br>
>> sambaPasswordHistory:<br>
>> 000000000000000000000000000000000000000000000000000000<br>
>>  0000000000<br>
>> sambaPwdLastSet: 1402698001<br>
>> sambaSID: S-1-5-21-2332447373-4108748234-3602490535-3146<br>
>><br>
>> dn: cn=amyengh,ou=Groups,dc=example,dc=com<br>
>> objectClass: top<br>
>> objectClass: posixGroup<br>
>> cn: amyengh<br>
>> gidNumber: 1141801056<br>
>> memberUid: amyengh<br>
>><br>
>> --------------------------------------------------------------------<br>
>><br>
>> I then run the migration (with or without compat makes no difference)<br>
>> and get the following:<br>
>><br>
>> ipa migrate-ds --with-compat --user-container="ou=People"<br>
>> --group-container="ou=Groups" --user-objectclass=posixAccount<br>
>> --group-objectclass=posixgroup ldap://<a href="http://192.168.122.210" target="_blank">192.168.122.210</a><br>
</div></div>>> <<a href="http://192.168.122.210" target="_blank">http://192.168.122.210</a>> --bind-dn="cn=Manager,dc=example,dc=com"<br>
<span class="">>> Password:<br>
>> -----------<br>
>> migrate-ds:<br>
>> -----------<br>
>> Migrated:<br>
>> Failed user:<br>
>>   amyengh: Type or value exists:<br>
>> Failed group:<br>
>>   amyengh: This entry already exists.<br>
> "type or value exists" and "This entry already exists" are just<br>
> explanations of the ldap return code, do you see anything in the 389 ds<br>
> error logs ?<br>
<br>
</span>I doubt that he would see any errors.<br>
<br>
The entry already existing is because this isn't his first migration, it<br>
is unrelated.<br>
<br>
I'm not able to reproduce this. What version of IPA is it?<br>
<span class="HOEnZb"><font color="#888888"><br>
rob<br>
<br>
--<br>
Manage your subscription for the Freeipa-users mailing list:<br>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
Go To <a href="http://freeipa.org" target="_blank">http://freeipa.org</a> for more info on the project<br>
</font></span></blockquote></div><br></div>