Username too long?

This topic contains 7 replies, has 3 voices, and was last updated by JeremyW JeremyW 13 years, 8 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Avatar
    JDMils
    Member
    #112402

    I created a new user “TerminalServerReporter” but am unable to login with that username. I checked the AD Users & Computers setup:

    Display Name: Terminal Server Reporter
    User Logon Name: TerminalServerReporter
    User Logon Name (pre-Windows 2000): TerminalServerReport

    Subsequently, I found that if I use the name “TerminalServerReport”, it logs in OK. So is there a 20-character limit to usernames?

    Windows2003 Server SP1.

    Avatar
    jasonboche
    Member
    #262158

    Re: Username too long?

    I think the 20 character limit applies only to the pre-Windows 2000 name. Group names can be 64 characters long. I wouldn’t be surprised if 64 character user names are supported.

    Avatar
    JDMils
    Member
    #250500

    Re: Username too long?

    jasonboche wrote:
    I think the 20 character limit applies only to the pre-Windows 2000 name. Group names can be 64 characters long. I wouldn’t be surprised if 64 character user names are supported.

    If this is the case, why can’t I log into my 2003 server with a username > 20 characters?

    Avatar
    jasonboche
    Member
    #262161

    Re: Username too long?

    A quick google search brought me to this reference:
    http://groups.google.com/group/microsoft.public.win2000.group_policy/browse_thread/thread/6142932da429662b/d3e6438ed32ed6ed?lnk=st&q=windows+server+username+length+limit&rnum=2&hl=en#d3e6438ed32ed6ed

    Why you can’t log in I don’t know.

    I’ll test in my lab for you tonight trying to replicate what you have done.

    Jas

    Avatar
    JDMils
    Member
    #250501

    Re: Username too long?

    I looked at the Google link you gave me, but it the links went to an MS 2000 site but I don’t know what to do thereafter.

    I think my system might be in Pre-Windows 2000 compatability mode? If so, how would I get it out of that mode?

    JeremyW
    JeremyW
    Moderator
    #267249

    Re: Username too long?

    Open Active Directory Users and Computers or Active Directory Domains and Trusts then right click the domain and select “Raise Domain Functional Level”.
    You’ll want do this only if you don’t have any NT BDCs in your domain.

    Avatar
    jasonboche
    Member
    #262166

    Re: Username too long?

    A day late – I apologize.

    In my lab I created a user with the following attributes:
    account name: 123456789012345678901234567890
    pre-windows 2000 name: 12345678901234567890 (only allows 20 characters in this field)

    Domain and Forest is at 2003 functional level

    Logging on characteristics:
    To log on with traditional domain logon where you provide the username, password, and domain in the pulldown box, I must only logon using the pre-windows 2000 name of 12345678901234567890 (the 20 character name). The 30 character name does not work here.

    To log on with the full 30 character account name of 123456789012345678901234567890, I must perform a UPN logon ([email protected])

    Summary: Pre-windows 2000 account names are capped at 20 characters. Account names are capped at 64 characters. In order to log on with the 64 character account name, you must perform a UPN logon.

    There ya have it.

    And now I must go shoot myself because my number of posts far exceeds my reputation which means I suck at helping people. :|

    Avatar
    JDMils
    Member
    #250502

    Re: Username too long?

    jasonboche,

    That’s gotta be the most helpful reply ever. When I tried the UPN login method, as soon as I typed the “@” symbol, the domain textbox greyed out. And the login worked!

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.