Rename DN ?

2011-09-18 Thread Tim Watts
Hi folks, Quick question if I may: Is it possible to rename a DN, eg this LDIF file: dn: cn=Fred,ou=people,dc=example,dc=com changetype: modify replace: dn dn: cn=Fred,ou=people,ou=external,dc=example,dc=com I tried that, and ldapmodify does not seem to like it :( Many thanks, Tim -- Tim

Re: Rename DN ?

2011-09-18 Thread Philip Guenther
On Fri, 16 Sep 2011, Tim Watts wrote: > Quick question if I may: > > Is it possible to rename a DN, Yes, it's possible to modify the DN of an entry. > eg this LDIF file: > > > dn: cn=Fred,ou=people,dc=example,dc=com > changetype: modify > replace: dn > dn: cn=Fred,ou=people,ou=external,dc=exa

Re: Rename DN ?

2011-09-18 Thread Lars Kellogg-Stedman
> I tried that, and ldapmodify does not seem to like it :( You want the "ldapmodrdn" command. -- Lars

Re: Rename DN ?

2011-09-18 Thread Tim Watts
On 18/09/11 21:48, Lars Kellogg-Stedman wrote: I tried that, and ldapmodify does not seem to like it :( You want the "ldapmodrdn" command. -- Lars Thanks to you both Phillip and Lars - it was a little fiddly to get the syntax right, but I got it to work eventually :) Many thanks, Tim --