On 28.07.2016 16:20, Rowland penny wrote:> On 28/07/16 14:57, Tim Dittler wrote: >> So no one has an idea what I can try additionally? >> >> Thanks, >> Tim >> >> >> > > OK, lets start with the obvious: > > What OS# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty> What version of Samba# samba-tool --version 4.2.14-SerNet-Ubuntu-10.trusty> What is in smb.conf[global] workgroup = example realm = NIX1.example.IO netbios name = DC01NIX1example # cnames netbios aliases = srv example interfaces = brem1 lo # leave 127.0.1.1 for dnsmasq # without this option starting dnsmasq on 127.0.1.1 will not work bind interfaces only = Yes server role = active directory domain controller # file access / rights stuff vfs objects = acl_xattr map acl inherit = yes store dos attributes = yes inherit acls = yes inherit permissions = yes acl group control = yes create mask = 770 directory mask = 770 # dnsmasq dns forwarder = 127.0.1.1 # lock handling reset on zero vc = yes # winbind related stuff idmap_ldb:use rfc2307 = yes template homedir = /srv/samba/home/%U 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> What is in /etc/krb5.conf[libdefaults] default_realm = NIX1.example.IO dns_lookup_realm = false dns_lookup_kdc = true> What is in /etc/hosts127.0.0.1 localhost 127.0.0.1 dc01nix1example.nix1.example.io dc01nix1example 127.0.1.1 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 #> What is in /etc/resolv.confnameserver 127.0.0.1 nameserver 10.10.1.1 nameserver 8.8.8.8 search nix1.example.io example.io abc0.example.io Regards, Tim
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
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