Re: Modify user's CN with LDIFDE
From: Dmitri Gavrilov [MSFT] (dmitrig_at_online.microsoft.com)
Date: 05/28/04
- Next message: Dmitri Gavrilov [MSFT]: "Re: AD/AM userCertificate autoenrolement"
- Previous message: Mark Mancini: "NEW FREE APP! NTBACKUP Print Log"
- In reply to: Chiel Varkevisser: "Modify user's CN with LDIFDE"
- Next in thread: Chiel Varkevisser: "Re: Modify user's CN with LDIFDE"
- Reply: Chiel Varkevisser: "Re: Modify user's CN with LDIFDE"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 27 May 2004 22:12:49 -0600
Modifying CN is considered a move/rename operation. You should use modrdn
verb:
dn: CN=old_cn,OU=ou,DC=dc
changeType: modrdn
newRdn: CN=new_cn
deleteOldRdn: 1
-- Dmitri Gavrilov SDE, Active Directory Core This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Chiel Varkevisser" <chiel.varkevisser@removethis.nautadutilh.com> wrote in message news:1354201c443f2$10db9870$a601280a@phx.gbl... > Hi, > > I want to change the CN of users from 'Firstname > Lastname' to 'Lastname, Firstname'. Trying this with > LDIFDE gives ther error: > > Add error on line 1: Not allowed on RDN > The server side error is "The attribute cannot be > modified because it is owned by the system." > 0 entries modified successfully. > > Any suggestions? > > Thanks in advance! > Chiel Varkevisser
- Next message: Dmitri Gavrilov [MSFT]: "Re: AD/AM userCertificate autoenrolement"
- Previous message: Mark Mancini: "NEW FREE APP! NTBACKUP Print Log"
- In reply to: Chiel Varkevisser: "Modify user's CN with LDIFDE"
- Next in thread: Chiel Varkevisser: "Re: Modify user's CN with LDIFDE"
- Reply: Chiel Varkevisser: "Re: Modify user's CN with LDIFDE"
- Messages sorted by: [ date ] [ thread ]