John A. Sullivan III wrote: > Hello, all. We've recently undergone a corporate name and domain > change, let's say from oldname.biz to newname.com. Consequently, we > need to rename the top level of our LDAP structure. We installed CentOS > Directory Server 8.1 into dc=oldname,dc=biz and now need that entire > structure to have dc=newname,dc=com at the top. Everything else stays > the same. > > I realize I'll need to edit all my ACIs and repoint all my LDAP clients, > but is there an easy way to rename the tree? I'd hate to try to move all > the elements (especially since I believe we can only move leaves) and > worse yet have to recreate the entire tree :-(((( > > I assume it is not as simple as going to the top level object in the > directory, going to advanced properties and changing the entrydn. > Thanks - John > With 389 1.2.6 you can do a subtree rename operation. Otherwise, I suggest you dump to ldif run a script on the ldif to convert oldname to newname import from ldif > -- > 389 users mailing list > 389-users@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/389-users > -- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users