[Samba] [EXT] Re: Samba server name change and aliases

Shannon Price pricesw at auburn.edu
Tue Oct 25 21:14:15 UTC 2022


(correct "DOMAIN" is the placeholder for the correct NETBIOS domain name)

The server has a generic hostname (e.g. SERVER001) and I do use a CNAME for the preferred Samba server name (or multiple CNAMES - e.g. ITCHY and SCRATCHY), I guess when I "net ads join" the machine, it will join as "SERVER001" and that will be the only AD object? I don't need AD objects for ITCHY and SCRATCHY as well?

--
Shannon

-----Original Message-----
From: samba <samba-bounces at lists.samba.org> On Behalf Of Rowland Penny via samba
Sent: Tuesday, October 25, 2022 4:01 PM
To: samba at lists.samba.org
Cc: Rowland Penny <rpenny at samba.org>
Subject: [EXT] Re: [Samba] Samba server name change and aliases

CAUTION: Email Originated Outside of Auburn.


On 25/10/2022 21:50, Shannon Price via samba wrote:
> 
> 
> We use "security=ads" and also "idmap config DOMAIN : backend = ad".  When my server has a netbios name and also one or more netbios aliases, do I need to "net ads join" all of the possible names, or only the primary netbios name?
> 
> Secondly, if I remove/add a netbios name, does anything need to be purged between the name change: "net cache flush" or removing any .TDB files?
> 
> --
> Shannon Price
> 

I take it that 'DOMAIN' is the placeholder for the correct NetBIOS domain name (aka workgroup).

Every Samba Unix domain member has a netbios name (the computers short hostname in capitals), but you do not need to set the 'netbios name = XXXXX' line in smb.conf, Samba will do it for you.

You also should not be using 'netbios aliases' in a Unix domain members smb.conf, you should set CNAME's in AD dns, Samba no longer uses NetBios or wins.

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.samba.org%2Fmailman%2Foptions%2Fsamba&data=05%7C01%7Cpricesw%40auburn.edu%7C5db36dc6c0894e9a1a5408dab6cc18dd%7Cccb6deedbd294b388979d72780f62d3b%7C1%7C0%7C638023284975367758%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Ly4O1JilJ71PnZt7dFiViLqSZsEoTh9uk%2FFmXRR5l%2Bg%3D&reserved=0




More information about the samba mailing list