[Samba] Cannot find invalid DNS entry
Rowland penny
rpenny at samba.org
Fri Jul 29 15:04:06 UTC 2016
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