Last post Sep 04, 2009 03:31 PM by raghu1
Sep 03, 2009 05:08 AM|kingkobra74|LINK
I am trying to write an application that creates user accounts in another system, based on user accounts in AD.
The second application must have account logins that are the same as those used by Windows, so if you login to Windows as joe.bloggs then the second application must have logins that are the same.
Originally, I used the userPrincipalName field, but then we found that some Windows systems used the CN field as the login name. Now I find that some systems use the sAMAccountName field as the login.
Is there some way of determining which field is being used by a particular system as the one you use to login to Windows?
I don't know enough about setting up Windows with AD to know if you can select what field you use as the NT login.
Is there a selection of fields that can be used, and if so what are they?
Sep 03, 2009 09:23 AM|kingkobra74|LINK
I found some information that suggests that only userPrincipalName or sAMAccountName can be used as user logins for Windows.
Thats would mean that someone saying they use CN as the login field is a red herring?
Can anyone confirm that these two fields are the only ones recognised as user logins?
Sep 04, 2009 03:31 PM|raghu1|LINK
Login means where a user typed his/her Id/userId/Login.
If the above is the case, It is usually the samAccountName that is used for login. It will be interesting if a user has to type the complete CN to "login".
what is red herring ?