[Date Prev][Date Next]
Re: Rewrite DN format?
I suggest you try to use "slapcat > olddn.ldif". After, you can open the ldif file with your prefered text editor(example: vi) and change all entries to the new dn.
But, you need create the new structure on ldap to accept this entries.
Do you understand?
On 6/6/07, Nels Lindquist <firstname.lastname@example.org> wrote:
I'm trying to merge entries from one tree into another, but the DN
format for each tree is different. We're talking about inetOrgPerson
entries, if that matters.
Specifically, the old DNs are of the form:
And the new DNs are of the form:
I'm using OpenLDAP 2.1.19, and I suspect that slapd-meta might be able
to do what I need.
All the examples I've been able to find seem to do with rewriting
suffixes, however. I need to go slightly further and rewrite the DN itself.
Is this possible, or am I barking up the wrong tree?
Thanks very much for any assistance/configuration examples!
Administrador de Redes -
Linux User #223750
Porto Alegre - RS - Brasil