How to rename DIT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-03-26 at 16:28 -0600, Rich Megginson wrote:
> 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
<snip>
Yes, the features in 1.2.6 have me drooling! But it looks like I'll need
to go the ldif route.  Any caveats, e.g., shutting down dirsrv before
starting? Is it as simple as dump, edit, import? Thanks - John



[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux