Johannes Kastl
2021-Mar-20 09:34 UTC
[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)
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), and I am guessing that this might be one of the reasons my playground setup is failing to fully work. (Once I have dug further I might return with explicit questions and error message, currently I am just curious if disabling NETBios is possible) 3. If disabling is not possible, is it possible to set the NETBios name during initial "domain provisioning" or "domain join"? Thanks in advance! Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl at b1-systems.de B1 Systems GmbH Osterfeldstra?e 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20210320/ba26a9db/OpenPGP_signature.sig>
Rowland penny
2021-Mar-20 10:04 UTC
[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)
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 long hostnames. sorry if this isn't what you wanted to hear, but it is something that would happen on a Windows domain. Rowland