← Back to team overview

enterprise-support team mailing list archive

[Bug 2092836] Re: smbget adds a space to the server name, fails to get

 

Hi, thanks for investigating this issue!

Indeed, it seems to be unrelated to samba and is an systemd[-resolved]
issue.

Your /etc/resolv.conf looks odd, did you manually modify that file, or
install the "resolvconf" package to have it handle this file for you?
Both cases do not reflect the default, supported DNS setup for Ubuntu.

The "resolvectl" command (which used to be named "systemd-resolve" in
the past), shows an interesting tidbit:

[...]
resolv.conf mode: foreign
[...]

This means it's not using the "stub" mode, recommended in Ubuntu. Can
you please try the following steps to re-create the default DNS setup?
/etc/resolv.conf should be a symlink to /run/systemd/resolve/stub-
resolv.conf


$ sudo cp /etc/resolv.conf /etc/resolv.conf.BACKUP
$ sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
$ ls -la /etc/resolv.conf

Maybe re-start your system (or the samba service), to get a clean state.

You can also peak at the contents of /run/systemd/resolve/stub-
resolv.conf to see if systemd-resolved would set a correct "search"
domain in this case.

** Also affects: systemd (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: samba (Ubuntu)
       Status: New => Invalid

** Changed in: systemd (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/2092836

Title:
  smbget adds a space to the server name, fails to get

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2092836/+subscriptions



References