Re: [Samba] Samba Active Directory Domain Controller
- Date: Mon, 8 May 2017 16:50:55 +0200
- From: "L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Samba Active Directory Domain Controller
>It seems that you cannot create a new /etc/resolv.conf ..
Did you remove resolvconf with apt-get remove --purge resolvconf?
That should have restored the static resolv.conf back.
Or just make use of resolvconf,
Debian/ubuntu : just correctly configure interfaces.
iface eth0 inet static
dns-nameservers 10.0.0.1 10.0.0.2
And your done.
Ps. Do not add gateway of dns to an alias interface..
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens
> Rowland Penny via samba
> Verzonden: maandag 8 mei 2017 16:35
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] Samba Active Directory Domain Controller
> On Mon, 8 May 2017 09:42:34 -0400
> lingpanda101 via samba <samba@xxxxxxxxxxxxxxx> wrote:
> > Verify resolv.conf is confiigured correctly. From the Wiki again.
> > /Disable tools, such as resolvconf, that automatically update your
> > /etc/resolv.conf DNS resolver configuration file. Active Directory
> > (AD) DCs and domain members must use an DNS server that is able to
> > resolve the AD DNS zones./
> > I can't recall where to configure the resov.conf on CentOS. Maybe
> > someone else can chime in. I'm using Ubuntu Server.
> I recently setup a Samba server with a fixed IP and had
> problems with resolv.conf being overwritten. I removed
> resolvconf and that is where my problems really started.
> It seems that you cannot create a new /etc/resolv.conf (well,
> I couldn't). I ended up recursively coping everything in /etc
> to /etc1 I then created /etc1/resolv.conf and then copied
> /etc1 over /etc. This worked and survived a reboot. I am sure
> that there must be a better way to do this, but I couldn't
> easily find one and I was just testing something. YMMV
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
To unsubscribe from this list go to the following URL and read the