[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)

Rowland penny rpenny at samba.org
Sat Mar 20 11:41:22 UTC 2021

On 20/03/2021 10:12, Johannes Kastl via samba wrote:
> Hi Rowland,
> Understood, not samba's fault. :-)
> But: Is the computer's shortname actually really needed? Or can the 
> use of the short NETBios names be disabled?

Have you ever heard of DNS ?

If you don't have a Netbios Name in smb.conf, then how would all the AD 
domain members find each other ? (not that this really matters, if  
'netbios name = computername' isn't there, Samba will add it for you)

So, sorry, you MUST use short hostnames with 15 characters or less. If 
you really must have a long name, use a CNAME record that points to the 
Computers A record e.g. 'averyverylonghostname.domain.com' would be a 
CNAME for 'dc1.domain.com'. However your AD clients will usually default 
to the A record.


More information about the samba mailing list