Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Report  on AD setting located on the General Tab

Posted on 2006-06-27
3
Medium Priority
?
222 Views
Last Modified: 2012-03-15
Here is our situation:
When we setup our AD environment, old user accounts were carried over from our NT 4.0 domain. When those old IDs are viewed within Active Directory users and Groups, we have noticed something different between the old and newly created IDs.

On the general tab, there appears an icon in the shape of a head. Next to it is some text. This text is shown as the old NT domain user name if the account was carried over. If the account was created with AD, then it shows up as a full name.

Does anyone know what the setting is I can query with AD to obtain the value displayed next to the icon of the head? DisplayName, SAMaccountname, or principalname don't appear to be it.

Thanks,
Michael
0
Comment
Question by:MichaelCohoon
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 1000 total points
ID: 16996636
That's the user's "Relative Distinguished Name"; together with the parent distinguished name, it forms the user's Distinguished Name, the user's location in ldap.
So if you see "John Doe" next to the head, and the user is in the OU "HR" in the domain "domain.local", the user's DN would be "cn=John Doe,ou=hr,dc=domain,dc=local".
To get a list of all users, open a command prompt and enter
dsquery user -limit 0
0
 

Author Comment

by:MichaelCohoon
ID: 17000658
Thanks oBdA! The terminology you gave me was just what I was looking for. We have a situation where we need to change some user's RDNs. So a bit of googling on your term helped me out. By selecting a user in AD, pressing F2 to rename, I can change the text displayed. Do you by any chance have an idea how I could do it via a script, in case we need to do this on a larger scale?

Thanks again.
Michael
0
 
LVL 85

Expert Comment

by:oBdA
ID: 17000962
Most of the attributes can be set and changed with the ds-tools (dsadd.exe, dsget.exe, dsmod.exe, dsmove.exe, dsquery.exe).
Renaming an AD object is done with dsmove:
dsmove "cn=John Doe,ou=hr,dc=domain,dc=local" -newname "Jane Doe"

The new command-line tools for Active Directory in Windows Server 2003
http://support.microsoft.com/?kbid=298882
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

877 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