Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I read that Windows server is constricted to 20 characters maximum user name length. What is the maximum domain name length?

This way I can store the values in a database with the correct length:

DOMAIN\USERNAME = 21 characters + domainNameMaxLength = ?

share|improve this question
    
I found an article stating the max length is 15 characters (+1 reserved). This pertains to NetBIOS. Are all windows domains subject to NETBios restrictions? In other words, can NetBIOS be disabled or is this truly the max length?support.microsoft.com/kb/909264 –  P.Brian.Mackey Sep 19 '11 at 16:53

1 Answer 1

up vote 1 down vote accepted

It sounds like you're mixing name limitations up a little bit. Computer name limitations, domain name limitations, and SamAccount name limitations are different things altogether.

The SamAccount name limitation is 20 characters.

The NetBIOS name limitation (single label computer name) is 15 characters.

For info on DNS and FQDN name limitations, see here:

http://support.microsoft.com/kb/909264

Disabling NetBIOS has nothing to do with the NetBIOS computer name. Every computer object has a NetBIOS computer name regardless of whether or not NetBIOS is enabled.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.