You would need to do that in two separate ops. A rename and then an update of the displayname. I don't recall off the top of my head why I had to do it that way at the time. I have put a note in to go look and see if I can combine those ops.
 
 
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Carter
Sent: Tuesday, March 21, 2006 8:46 AM
To: [email protected]
Subject: [ActiveDir] Renaming RDN & Displayname using ADMOD

 
Hi,
 
I am trying to rename a user's RDN & Displayname.
 
I have tried using the following command using ADMOD
 
admod -b "cn=HR Asia Pacific Mailbox,ou=GMail,ou=AP,dc=SUNINT,dc=com" -rename "HRAP IT Mailbox" "displayname::HRAP IT Mailbox"
 
This renames the RDN, but it does not rename the displayname. The displayname field currently contains text so it's not empty
 
Any idea's why this won't work?
 
Thanks James.


Yahoo! Travel
Find great deals to the top 10 hottest destinations!

Reply via email to