[Samba] Samba AD - Different IP than the existing one assigned
L.P.H. van Belle
belle at bazuin.nl
Thu Feb 27 14:07:00 UTC 2020
Run the debug script and we know all we need to know.
https://github.com/thctlo/samba4/raw/master/samba-collect-debug-info.sh
There is more here going on then only the hosts files..
Also like :
systemctl stop smbd nmbd winbind
systemctl disable smbd nmbd winbind
systemctl mask smbd nmbd winbind
systemctl unmask samba-ad-dc
systemctl enable samba-ad-dc
systemctl start samba-ad-dc
This was ubuntu 18.04 correct? .. Ah.. run script we know. ;-)
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Rowland penny via samba
> Verzonden: donderdag 27 februari 2020 14:49
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Samba AD - Different IP than the
> existing one assigned
>
> 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