I concur with Ulf. Keep it up.
 
 
  joe
 
 
P.S. With posts that well written, I am happy to take the blame.
 
 
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner
Sent: Saturday, April 01, 2006 9:27 AM
To: [email protected]
Subject: RE: [ActiveDir] display name confusion

> PPS.  I landed a couple of hours ago and am jetlagged, so anything written above should be taken with a pillar of salt.
Landed yesterday evening (Friday if i recall correctly) - and am still a bit jetlagged. And the rubber ducky is still on the road - luggage got lost (or not transfered in time) in San Fransisco so I may expect it earliest tonight.
 
Was nice meeting you - and glad you've made it out of the lurking space ;-)

Gruesse - Sincerely,

Ulf B. Simon-Weidner

  MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
  Weblog: http://msmvps.org/UlfBSimonWeidner

  Website:
http://www.windowsserverfaq.org
  Profile:   http://mvp.support.microsoft.com/profile=""> 
  

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Katherine Coombs
Sent: Saturday, April 01, 2006 5:51 AM
To: [email protected]
Subject: RE: [ActiveDir] display name confusion

Tom,
 
The column Name in ADU&C is not the displayName, but you can add this latter column.
 
When generating a user via ADU&C, the field called Full Name is used to populate the user's CN, displayName and name attributes.  By default this format is "givenName sn" but you can modify this via the relevant DisplaySpecifier as you mentioned (see http://support.microsoft.com/?kbid=250455).  Note that changing the DisplaySpecifier only affects objects created afterwards; objects previously created won't be updated to reflect this change.  Additionally, the displayName can be subsequently over-written, or a displayName can be specified at the point of object creation which doesn't adhere to the createDialog format.
 
If your createDialog for users is %<sn>, %<givenName> then - within ADU&C - the Full Name field (which populates the CN, displayName and name attributes) will be populated automatically based on the information in the First name and Last name fields.  If you don't populate these two fields then the Full Name will need to be specified manually before you can proceed.  I presume that this field is required in ADU&C because it populates the CN, which is a mandatory attribute, and just for convenience sake the information from this field is then used to populate those other attributes.  Creating a user via another mechanism, such as via a script, should only require you to specify the CN and samAccountName, since other attributes including the displayName are optional.  Actually, you don't even need to specify the samAccountName come to think of it, since it will be created automatically if you don't, but ultimately the samAccountName attribute itself is mandatory.
 
So, if you're certain that you're creating the users via ADU&C, then someone manually entered the samAccountName in the Full Name field, which propagates to the displayName attribute amongst others.
 
I'm not sure what you mean by "the dn's are all mixed".  I thought that your problem was with the displayName attribute?  It sounds to me like someone mis-populated the Full Name field, which then flows to the displayName and the CN, and the distinguishedName.
 
HTH,
Katherine Coombs
 
PS.  For those interested, it would appear that 4 days is the time required to spend with joe before being converted from a lurker to an eassayist :-)
PPS.  I landed a couple of hours ago and am jetlagged, so anything written above should be taken with a pillar of salt.
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Kern
Sent: 30 March 2006 07:16
To: activedirectory
Subject: [ActiveDir] display name confusion

Can someone explain to me how the display names get generated in ADUC?
 
I have users whose display names are "lastname,firstname" but whose accounts show up in aduc as the samaccountname format.
This is sporadic and not for all users.
The "user-Display" is set to "lastname,firstname" as well in the config NC.
 
 
When I do a query with adfind or dsquery, the dn's are all mixed as well with some in sAMAccountName format and some as the display name.
 
Thanks

Reply via email to