Re: Problem with CN

From: Jerold Schulman (Jerry_at_jsiinc.com)
Date: 05/25/04


Date: Tue, 25 May 2004 08:12:57 -0400

On Tue, 25 May 2004 02:29:53 -0700, "Fredrik Engman"
<anonymous@discussions.microsoft.com> wrote:

>Hi
>I have a problem when I migrate users from my NT4 domains
>to a 2003 active directory, I use admt to convert each
>user and enable SID History.
>When the user is migrated the CN value is set to Login
>name from NT4 and is displayed as Name value in the MMC,
>but if I create a new user trough the MMC the CN value is
>set to Surname Given name and is displayed as Name value.
>
>For me it's a good thing that CN = Login because all
>other systems around the active directory uses login name
>as the unique parameter, so I can easily do scripting
>jobs to it.
>
>How can I change the CN value after I have created a new
>user manually??
>
>Thanks in advance
>Fredrik

Use the Active Directory command-line DSADD tool to create the user.

See tip 7329 in the 'Tips & Tricks' at http://www.jsiinc.com

dsadd user "CN=Fredrik,CN=Users,DC=COMPANY,DC=COM" -samid Fredrik -upn
Fredrik@COMPANY.COM etc.....

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com



Relevant Pages

  • Problem with CN
    ... I have a problem when I migrate users from my NT4 domains ... When the user is migrated the CN value is set to Login ... name from NT4 and is displayed as Name value in the MMC, ... other systems around the active directory uses login name ...
    (microsoft.public.windows.server.active_directory)
  • Re: Is_Member problem : Does user belong to custom Group
    ... In active directory: 1 - Created in Active directory a Windows group named ... 'MyDomainName/MyApplReadOnly' as Login Name and the same as User ... We can create a ROLE in the database and add the users. ...
    (microsoft.public.sqlserver.security)
  • Re: Is_Member problem : Does user belong to custom Group
    ... - Added in Security/Logins the windows Group 'MyDomainName/MyApplReadOnly' referred as type 'Windows Group' with Defaultdatabase 'Master' ... Then configured the database Role Membership of this user by setting db_datareader and db_denydatawriter to true. ... for the current user returns 0 although he is referred in active directory as someone belonging to the the windows group Mydomainname\MyapplReadOnly ... There is a login, there is a user that mapped to the Login ...
    (microsoft.public.sqlserver.security)
  • Re: New to Active Directory
    ... So how does the login process work? ... A user will have a local workstation username/password. ... connect to Active Directory, ... In an Active Directory environment one computers ...
    (microsoft.public.windows.server.active_directory)
  • Re: Eliminating multiple logins in VB6 with SQL svr
    ... In the login screen I use an API ... I need to check the user name when my app starts to limit their recordset ... initially put their active directory user names into the table to match up ... Dim lSize As Long ...
    (microsoft.public.vb.general.discussion)