[Samba] samba-tool gpo listall error
Rowland penny
rpenny at samba.org
Wed Nov 11 07:44:02 UTC 2020
On 10/11/2020 22:45, Jonathan Kreider wrote:
> My google fu quickly turned up this info:
> https://unix.stackexchange.com/questions/564673/wheres-my-stub-resolve-conf-missing
> <https://unix.stackexchange.com/questions/564673/wheres-my-stub-resolve-conf-missing>
>
> which suggests that I need to start systemd-resolved.service.
>
> However, since this is an AD DC, I want samba to provide the DNS. So
> I've disabled systemd-resolved.service.
>
> I suppose that the anti-systemd crowd will go into fits about this.
> Does anyone have a solution?
>
> Thanks,
> Jonathan Kreider
>
>
> On Tue, Nov 10, 2020 at 5:39 PM Jonathan Kreider
> <jonathan.kreider at gmail.com <mailto:jonathan.kreider at gmail.com>> wrote:
>
> More problems...
>
> So cat /etc/resolv.conf yields nothing.
> root at ad2:~# ll /etc/resolv.conf
> lrwxrwxrwx 1 root root 39 Jun 17 2018 /etc/resolv.conf ->
> ../run/systemd/resolve/stub-resolv.conf
>
> Shows a broken link. Since this is Ubuntu 18.04 with systemd and
> the stub-resolv.conf missing, I'm lost. I'll test my google fu to
> try to figure this out, but if someone can point me in the right
> direction, I'd be most grateful.
>
> I presume that the python code gets its info from /etc/resolv.conf
> rather than a DNS query? (Since ping works...)
>
Remove /etc/resolv.conf and then create a new one.
Rowland
More information about the samba
mailing list