[Samba] Samba AD - Different IP than the existing one assigned
Lionel Monchecourt
lionel.monchecourt at free.fr
Thu Feb 27 14:31:25 UTC 2020
Hi Louis
Here we go for the output of the script
Collected config --- 2020-02-27-14:28 -----------
Hostname: adc1
DNS Domain:
FQDN: localhost
ipaddress: 172.31.6.15 172.17.0.1 172.18.0.1 172.19.0.1
-----------
Kerberos SRV _kerberos._tcp. record verified ok, sample output:
Server: 172.31.6.15
Address: 172.31.6.15#53
Non-authoritative answer:
*** Can't find _kerberos._tcp.: No answer
Authoritative answers can be found from:
.
origin = a.root-servers.net
mail addr = nstld.verisign-grs.com
serial = 2020022700
refresh = 1800
retry = 900
expire = 604800
minimum = 86400
From: Lionel Monchecourt [mailto:lionel.monchecourt at free.fr]
Sent: 27 February 2020 15:21
To: lionel Monchecourt
Subject: Fwd: [Samba] Samba AD - Different IP than the existing one assigned
Lionel
sent from my Iphone, sorry for typo
Début du message transféré :
Expéditeur: Rowland penny via samba <samba at lists.samba.org>
Date: 27 février 2020 à 14:50:27 UTC+1
Destinataire: samba at lists.samba.org
Objet: Rép: [Samba] Samba AD - Different IP than the existing one assigned
Répondre à: Rowland penny <rpenny at samba.org>
On 27/02/2020 13:25, Lionel Monchecourt via samba wrote:
Hi, Thanks for helping.
Answers in line :
Log.smbd :
[2020/02/24 10:02:22.602083, 0] ../source3/smbd/server.c:1815(main)
server role = 'active directory domain controller' not compatible with running smbd standalone.
You should start 'samba' instead, and it will control starting smbd if required
Really big hint there, you are not starting 'samba-ad-dc', you seem to be starting the individual Samba binaries
Nothing is running on port 53 :
There wouldn't be, the 'samba' binary isn't starting.
Now, when I performed a check for the adc1, I get an answer BUT ,the IP is
not the one of the machine
A DC should have a fixed IP and that is what Samba should use.
yes ok : 172.31.6.15
Do you have more than one ethernet device ?
Yes , here are the different devices, but none is matching this strange IP
This is strange, but possibly related to the DC not running.
What OS is this ?
Ubuntun 18.04
Can you post the contents of the following files:
/etc/resolv.conf
search transmitcorp.com
nameserver 127.0.0.1
options edns0
Do not use '127.0.0.1', use the computers ipaddress
/etc/hostname
127.0.0.1 localhost php7.localhost adc1
120.0.0.1 php7.localhost
172.31.6.15 adc1
No, /etc/hostname should just contain the computers short hostname 'adc1'
/etc/hosts
search transmitcorp.com
nameserver 127.0.0.1
options edns0
Have you mixed up your files ? I would have expected /etc/hosts to look like this:
127.0.0.1 localhost
172.31.6.15 adc1.transmitcorp.com adc1
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list