[Samba] Cannot find invalid DNS entry

Tim Dittler tim.dittler at rosalux.org
Wed Aug 3 08:47:10 UTC 2016


Dear Roland,

Thank you for your help and sorry for the late reply.

If I understand you correctly, you ask me to drop dnsmasq from the config.
I believe, dnsmasq is necessary for our setup, since it is used to
forward queries about different domains to different DNS servers.
Also, the exact same setup is working fine on similar networks, without
giving the "TDB file" error.

Do you have another idea?

Best regards,
Tim

PS: NetworkManager is not running on the Ubuntu Server system.


On 29.07.2016 17:04, Rowland penny wrote:
> On 29/07/16 15:12, Rowland penny wrote:
>>
>> Does the DC have a fixed ip and if not, why not.
>> If it does have a fixed ip, what is it
>>
>> Once you answer these, I will advise you how to fix your set up
>>
>> Rowland
>>
>>
>
> OK, this is what I would change on your setup, but I would also make
> backups before changing anything.
>
> smb.conf:
>
>  [global]
>         workgroup = example
>         realm = NIX1.example.IO
>         netbios name = DC01NIX1example
>         interfaces = brem1 lo
>         bind interfaces only = Yes
>         server role = active directory domain controller
>         idmap_ldb:use rfc2307 = yes
>         template homedir = /srv/samba/home/%U
>         dns forwarder = 8.8.8.8
>         # lock handling
>         reset on zero vc = yes
>
>         spoolss: architecture = Windows x64
>         #rpc_server:spoolss = external
>         #rpc_daemon:spoolssd = fork
>
>         allow dns updates = nonsecure
>
>         # feeded by shares module
>         include = /etc/samba/shares.conf
>
> [netlogon]
>         path = /var/lib/samba/sysvol/nix1.example.io/scripts
>         read only = No
>
> [sysvol]
>         path = /var/lib/samba/sysvol
>         read only = No
>
>
> /etc/hosts
>
> 127.0.0.1    localhost
> 10.10.1.10    dc01nix1example.nix1.example.io dc01nix1example
>
> # The following lines are desirable for IPv6 capable hosts
> # ::1     localhost ip6-localhost ip6-loopback
> # ff02::1 ip6-allnodes
> # ff02::2 ip6-allrouters
>
> /etc/resolv.conf
>
> nameserver 127.0.0.1
> search nix1.example.io
>
> I would also stop Network Manager using dnsmasq.
>
> Rowland
>





More information about the samba mailing list