Johannes Kastl
2021-Mar-20 10:12 UTC
[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)
Hi Rowland, thanks for the fast answer. On 20.03.21 at 11:04 Rowland penny via samba wrote:> 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.Actually I was half expecting this answer, but I was hoping there would be another way...> sorry if this isn't what you wanted to hear, but it is something that would > happen on a Windows domain.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? 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/e1f8e0f9/OpenPGP_signature.sig>
Rowland penny
2021-Mar-20 11:41 UTC
[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)
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. Rowland