<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:12pt"><div>Im sorry, i missed that part.<br>using modrdn with deleteOldRDN: 0 worked perfectly.<br><br>Thanks<br></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Nathan Kinder <nkinder@redhat.com><br><b><span style="font-weight: bold;">To:</span></b> General discussion list for the 389 Directory server project. <fedora-directory-users@redhat.com><br><b><span style="font-weight: bold;">Sent:</span></b> Monday, June 22, 2009 4:46:44 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [389-users] using uid rather then cn in the binddn<br></font><br>Dumbo Q
 wrote:<br>> Thanks.  I tried that, but now it tells me<br>> ldapmodify: Object class violation (65)<br>>         additional info: missing attribute "cn" required by object class "inetOrgPerson"<br>> <br>> Being that the entry has a 'cn', I guess this means that somewhere I have it setup where dn requires the cn to be in it ???  Anythoughts<br>Are you still specifying "deleteOldRDN: 1"?  As I mentioned, you shouldn't be doing that as it will delete the old RDN value from the entry, which is your "cn".  Since "cn" is required by the "inetOrgPerson" objectclass, this is an objectclass violation.  Try specifying "deleteOldRDN: 0".<br>> <br>> <br>> <br>> ------------------------------------------------------------------------<br>> *From:* Nathan Kinder <<a ymailto="mailto:nkinder@redhat.com" href="mailto:nkinder@redhat.com">nkinder@redhat.com</a>><br>> *To:* General
 discussion list for the 389 Directory server project. <<a ymailto="mailto:fedora-directory-users@redhat.com" href="mailto:fedora-directory-users@redhat.com">fedora-directory-users@redhat.com</a>><br>> *Sent:* Monday, June 22, 2009 4:30:53 PM<br>> *Subject:* Re: [389-users] using uid rather then cn in the binddn<br>> <br>> Dumbo Q wrote:<br>> > Erg.    I thought I had it but it's something is blocking me from doing this update. Can anyone help me find where my constraint is?<br>> ><br>> <snip><br>> ><br>> > [root@rhds ~]# ldapmodify -x -W -D cn=DirectoryManager<br>> > dn: cn=testy,ou=users,ou=people,dc=mydomain,dc=com<br>> > changetype: modify<br>> > newRDN: uid=testy<br>> > deleteOldRDN: 1<br>> ><br>> > modifying entry "cn=testy,ou=users,ou=people,dc=mydomain,dc=com"<br>> > ldapmodify: Object class violation (65)<br>> >       
 additional info: attribute "newRdn" not allowed<br>> You need to perform a "modrdn" operation instead of a regular modify.  Try the above, but change your "changetype" to "modrdn".  You may also find that you don't want to delete the old RDN from the entry, particularly if that is the only "cn" value present in your entry.  Doing so would cause an objectclass violation since "cn" is likely required for the objectclass you are using.<br>> ><br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > --<br>> > 389 users mailing list<br>> > <a ymailto="mailto:389-users@redhat.com" href="mailto:389-users@redhat.com">389-users@redhat.com</a> <mailto:<a ymailto="mailto:389-users@redhat.com" href="mailto:389-users@redhat.com">389-users@redhat.com</a>><br>> > <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users"
 target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>> > <br>> --<br>> 389 users mailing list<br>> <a ymailto="mailto:389-users@redhat.com" href="mailto:389-users@redhat.com">389-users@redhat.com</a> <mailto:<a ymailto="mailto:389-users@redhat.com" href="mailto:389-users@redhat.com">389-users@redhat.com</a>><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>> <br>> ------------------------------------------------------------------------<br>> <br>> --<br>> 389 users mailing list<br>> <a ymailto="mailto:389-users@redhat.com" href="mailto:389-users@redhat.com">389-users@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>>  
 <br><br>--<br>389 users mailing list<br><a ymailto="mailto:389-users@redhat.com" href="mailto:389-users@redhat.com">389-users@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br></div></div></div><br>



      </body></html>