Rowland thanks, substitution error, only mine
ubuntu at dc01:~$ cat /etc/resolv.conf
172.27.1.98
search domain.name
ubuntu at dc01:~$ cat /etc/hostname
dc01
ubuntu at dc01:~$ cat /etc/hosts
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.1.1 primaryvnic-821270 primaryvnic-821270
172.27.1.98 dc01 dc01.domain.name
ubuntu at dc01:~$ cat /etc/samba/smb.conf
# Global parameters
[global]
dns forwarder = 172.27.2.2 169.254.169.254
netbios name = DC01
realm = DOMAIN.NAME
server role = active directory domain controller
workgroup = DOMAIN
idmap_ldb:use rfc2307 = yes
ldap server require strong auth = yes
tls enabled = yes
tls keyfile = tls/key.pem
tls certfile = tls/cert.pem
tls cafile = tls/ca.pem
log level = 1 auth:5 kerberos:5
#interfaces = ens3
#bind interfaces only = yes
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[netlogon]
path = /var/lib/samba/sysvol/domain.name/scripts
read only = No
On Tue, 9 Feb 2021 at 17:36, Rowland penny via samba <samba at
lists.samba.org>
wrote:
> On 09/02/2021 15:18, Yakov Revyakin via samba wrote:
> > Hello,
> > I am trying to make alive a Samba domain (let's say domain.name)
made by
> > another man.
>
>
> Why say 'domain.name' and then go on to say 'tehama.room'
?
>
> > I have the next for nslookup on the dc
> >
> > ubuntu at dc01:~$ nslookup domain.name
> > Server: ::1
> > Address: ::1#53
> >
> > Name: domain.name
> > Address: 172.27.1.98
>
>
> '::1' is the IPv6 loopback device, it should be using the DC's
ipaddress
> (172.27.1.98)
>
> >
> > Could you explain to me what "::1", "::1:53" mean?
Do I need to fix that?
>
>
> yes, you need to fix this.
>
> >
> > My /etc/hosts has among others:
> >
> > ::1 ip6-localhost ip6-loopback
> > 172.27.1.98 dc01 dc01.tehama.room
>
>
> The last line is wrong, it should be:
>
> 172.27.1.98 dc01.tehama.room dc01
>
> >
> > Also I tried the following options in smb.conf
> > interfaces = 172.27.1.98
> > bind interfaces only = yes
> >
> > After this, nslookup stops working - timeout. Samba log shows after
samba
> > restart:
> > dnsupdate_nameupdate_done: Failed DNS update with exit code 110
> >
> > cat /etc/resolv.conf
> > 172.27.1.98
> > search tehama.room
> >
> > Thanks
>
>
> Can you please post the full contents of the following files:
>
> /etc/hostname
>
> /etc/hosts
>
> /etc/samba/smb.conf
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>