Solved

Active Directory change default common name CN

Posted on 2006-06-29
9
3,722 Views
Last Modified: 2011-09-20
In Windows 2003 AD, the user object field "Full Name" sets the CN (common name) and displayName among some other things.

In my domain we like to have the display name as "last name, first name" -- so that's what is in the Full Name box.

Unfortunately, that also makes the CN the same thing.  I need the CN to be the same as the user logon name which is "first initial last name".

Does anyone know how I can change directly or separate the CN from the Full Name field?

Thanks
0
Comment
Question by:ipmcinc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 2
9 Comments
 
LVL 26

Expert Comment

by:Pber
ID: 17013186
Load adsi edit
Connect to the configuration container
Then CN=displayspecifiers
then CN=409 for english (this might be specifig to your region)
then CN=Users-Display and right click and properties
Then go to the attribute createDialog
Change the value to:

%<i>%<givenName>

this will change new users, existing users you will have to do a rename to fix (I think).
0
 
LVL 26

Expert Comment

by:Pber
ID: 17013229
Also check out this article

http://www.computerperformance.co.uk/exchange2003/exchange2003_GAL_custom_display.htm#Custom%20Display%20Names

You can use ADmodify to change the existing accounts.
0
 
LVL 26

Expert Comment

by:Pber
ID: 17013292
Sorry I was a bit off on the syntax

Use this instead:

%1<givenName>%<sn>

0
Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

 
LVL 26

Expert Comment

by:Pber
ID: 17013322
Note this method will change the way your users show up in the GAL which might be bad.  You might be able to do a ADmodify to just change the CN.
0
 

Author Comment

by:ipmcinc
ID: 17013410
Do you know how to change what the default CN is?

Currently the default CN is whatever the Full Name is; which is last name, first name ( i.e. smith, john)

When I add new users in the future, I want the default CN to be whatever the Logon Name is; which is first initial last name (i.e. jsmith)

Thanks!
0
 
LVL 26

Expert Comment

by:Pber
ID: 17013442
The above method will do just that...

Ours is set to:
%<sn>, %<givenName>

All of our users CN's are:
CN=lastname\, firstname, Ou=blahblahblah
0
 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 17013581
After playing with this in the lab, it doesn't look like you can use partials.  

On an exchange recipient policy you can do something like %1g%i%s@email.com

See: http://support.microsoft.com/kb/250455/en-us

Apparently you can't with this.  You'd have to do the fullname lastname

%<givenName>%<sn>
0
 

Author Comment

by:ipmcinc
ID: 17013615
If I change CN=Users-Display, I believe that would change the display name.  I don't want to change the display name.

I want to change the "Full Name" field
0
 
LVL 26

Expert Comment

by:Pber
ID: 17013673
When I change the settings in the lab and click apply and start creating a new user, it immediately starts filling in the Fullname field in the format that is specified by the createDialog
0

Featured Post

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question