NT4 Upgrade

J

JSalminen

I've been testing a copy of my PDC in a test AD lab. I've come across some
issues where I am not sure of how to resolve.

1. AD display name is blank. I tested the vb script written by Microsoft,
but that has issues with usernames without the firstname and lastname
fields. Anyone know of a more robust script, tool, etc?

2. Upgraded NT user accounts appear in AD users and computers console as
their username. When I view the attributes of the user account the Name and
CN field appear as their user account name. When I create a new user account
the Name and CN fields as Lastname, Firstname. I edited the createDisplay
object with ADSIedit to produce that format. I would like to use some kind
of automation to modify the name or CN fields to lastname, firstname without
manually renaming all the AD user accounts.

TIA
 
B

Brian Desmond [MVP]

You'll have to write a simple script to setup the first and last name fields
to the person's given name and surname. The issue is that NT doesn't
differentiate between first and last names. I don't have the script I wrote
to do this anymore, but the long and short of it is this:

load their fullName property, and use the split string function to split it
at the space, and store the first half in givenName and the second half in
sn (surname). This will take care of people with only one sapce in their
name, those with others will need some manual labor.

To rename the CN part, you'll have to call the MoveTo method of each object,
and move them to CN=FirstName
LastName,OU=SomeOU,Dc=YourDomain,DC=TheRest,DC=OfYour,DC=DistinguishedPath

--
--
Brian Desmond
Windows Server MVP
(e-mail address removed)12.il.us

Http://www.briandesmond.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top