[Date Prev][Date Next]
Change directory base/ suffix dynamically?
If I got unknown number (probably up to 10,000 or more) of entries
under a domain (say o=abc.com),
and I want to change them to a different domain (say dc=abc,dc=com),
what is the shortest (easiest)
way to do so?
Using alias will keep the original domain, which I don't intend to.
The method "modrdn" can specify new
superior, but can only modify rdn instead of dn. I could slapcat all
entries, use sed to modify them, then
slapadd back. But it really looks stupid. I have searched the web for
hours and I do appreciate your help.
Thanks in advance.