Yes, the network itself comes up fine. "Does not work" simply means that
NetBIOS name resolution is unavailable even after it does; that e.g.
"ping NAS" for "NAS" the NetBIOS name of my, well, NAS, tells me the
name cannot be resolved.

There would not appear to be relevant logs nor configuration files. The
issue is simply that with "After=network.target" rather then "After
=network-online.target" the winbindd daemon is started too early; does
start, but does not work. Needs to be restarted for it to start to work.

I am as mentioned on Linux Mint 19 but would be surprised if this were
not the case on Ubuntu 18.04 itself as well. This is a standard, wired
desktop without even wireless available.

It is easy to reproduce: have the "winbind" and "libnss-winbind"
packages installed but not "samba" itself, enable WINS name resolution
in /etc/nsswitch.con as detailed and as normal, and reboot.

As also mentioned, installing "samba" itself hides the issue by winbind
having a dependency on nmbd and nmbd in turn on network-online.target;
without "samba", we appear to have a simple systemd bootup race, solved
by having it depend on network-online.target itself.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789097

Title:
  winbind does not work after reboot on Mint 19 / Ubuntu 18.04

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to