[Samba] Internal DNS not coming up in 4.18.0
Rowland Penny
rpenny at samba.org
Fri Mar 24 10:06:07 UTC 2023
On 24/03/2023 09:57, Anantha Raghava via samba wrote:
>
> On 24/03/23 2:52 pm, Rowland Penny via samba wrote:
>>
>>
>> On 24/03/2023 09:16, Anantha Raghava via samba wrote:
>>> Hi,
>>>
>>> How can I be so foolish? I just can't imagine.
>>>
>>> The issue was in smb.conf file. the the server's "netbios name" was
>>> reading as AD instead of DC, which was the actual host name.
>>> Basically I had copied contents of smb.conf file from old server
>>
>> Why were you copying the smb.conf from one DC to another ?
>> The join would create the required smb.conf and if you had mentioned
>> that you had done this, I would have asked why.
> Normal practice. Instead of typing those 4 or 5 additional lines for
> RFC, TLS, NTLM and other security related settings, copying the whole
> file was easy. Copying the file is fine, but not observing the "netbios
> name" and Host name was a blunder.
>> Rowland
>>
Can I suggest that it would be better to add those lines to a separate
.conf file and then add then with an 'include' line e.g.
include = /path/to/additional.conf
Which you could add during the join with:
--option='include = /path/to/additional.conf'
Rowland
More information about the samba
mailing list