[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)
rpenny at samba.org
Sat Mar 20 10:04:31 UTC 2021
On 20/03/2021 09:34, Johannes Kastl via samba wrote:
> Good morning everyone,
> first off, sorry if this question was answered before, I found nothing
> matching my queries (or my search foo is just too bad...). Apologies
> if there is documentation which I managed to miss...
> 1. Is there a way to disable NETBios during the initial provisioning
> of a domain via "samba-tool domain provision"?
> 2. Is there a way to disable NETBios during joining a secondary DC /
> read-only DC via "samba-tool domain join..."?
> I found these instructions to disable it later, but then I would still
> have the netbios-names somewhere in DNS (and maybe other places...).
> And I am not sure if those are intended for file servers or if those
> are supposed to be used on Samba 4 AD DCs at all.
> disable netbios = yes
> smb port = 445
> In my case the hostnames of the machines are too long to result in
> different netbios names (15 characters is very short),
Initially, I thought you were referring to the netbios domain name aka
workgroup, but it sounds like you are referring to the computers short
hostname. The 15 character limit on the hostname length is dictated by
Active Directory, so the cure for your problem is easy, stop using very
sorry if this isn't what you wanted to hear, but it is something that
would happen on a Windows domain.
More information about the samba