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
Johannes Kastl
2021-Mar-20 12:25 UTC
[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)
Hi Rowland, On 20.03.21 at 12:41 Rowland penny via samba wrote:> On 20/03/2021 10:12, Johannes Kastl via samba wrote:>> 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 ?That is exactly why I was asking. Because I have two DNS entries for the DC, one with the long hostname and one with the "netbios name". Those are created during domain provisioning. So if there is already a A record for the long name, what use is the short name? But if this is needed for AD to work properly, then so be it. I guess this also answers my third question, it seems there is no way to set the netbios name during provisioning/join. Thanks for your help, Rowland! 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/2f025491/OpenPGP_signature.sig>
L.P.H. van Belle
2021-Mar-22 09:21 UTC
[Samba] Disable NETBIOS during "domain provision" or "domain join" (Samba 4 AD)
I recommend you read this : https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/naming-conventions-for-computer-domain-site-ou Greetz, louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Johannes Kastl > via samba > Verzonden: zaterdag 20 maart 2021 13:25 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Disable NETBIOS during "domain provision" or > "domain join" (Samba 4 AD) > > Hi Rowland, > > On 20.03.21 at 12:41 Rowland penny via samba wrote: > > On 20/03/2021 10:12, Johannes Kastl via samba wrote: > > >> 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 ? > > That is exactly why I was asking. Because I have two DNS entries for the > DC, one > with the long hostname and one with the "netbios name". Those are created > during > domain provisioning. So if there is already a A record for the long name, > what > use is the short name? > > But if this is needed for AD to work properly, then so be it. > > I guess this also answers my third question, it seems there is no way to > set the > netbios name during provisioning/join. > > Thanks for your help, Rowland! > > 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 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba