FS#48692 - [smbclient] wins name resolution doesn't work with 4.4.0-1
Attached to Project:
Arch Linux
Opened by nackd (Prieto) - Friday, 25 March 2016, 17:32 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 12:15 GMT
Opened by nackd (Prieto) - Friday, 25 March 2016, 17:32 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 12:15 GMT
|
Details
$ ping freenas
ping: freenas: Name or service not known $ pacman -Q smbclient smbclient 4.4.0-1 $ sudo pacman -U /var/cache/pacman/pkg/smbclient-4.3.6-1-x86_64.pkg.tar.xz [...] $ ping freenas PING freenas (192.168.1.128) 56(84) bytes of data. 64 bytes from 192.168.1.128 (192.168.1.128): icmp_seq=1 ttl=64 time=0.669 ms |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 04 May 2021, 12:15 GMT
Reason for closing: Fixed
Additional comments about closing: initial issue was solved, old report, assuming all haven been fixed meanwhile.
Tuesday, 04 May 2021, 12:15 GMT
Reason for closing: Fixed
Additional comments about closing: initial issue was solved, old report, assuming all haven been fixed meanwhile.
But if I revert to samba and smbclient 4.4.0-1, wins name resolution stops working even though I have winbindd.service running. I can find no hint as to what other changes I may need to make to get wins name resolution working after the upgrade to 4.4.0-1 despite having read the release notes.
Only downgrading both smbclient and libwbclient give some results.
I can post some logs, if you want.
I fixed it by adding a systemd dependency metaparameter to the fstab entry (x-systemd.requires=winbindd.service), hope that helps.
EDIT: Never mind, the issues were firewall related.
I've "wins" entry in /etc/nsswitch.conf and
$ ping google.com
ping: google.com: System error
when I remove "wins" DNS works...
libwbclient 4.5.1-1
samba 4.5.1-1
smbclient 4.5.1-1
needed to remove 'wins' from nsswitch.conf else anything using nameservices is fubar.
nmblookup seems fine though, and winbindd seems okay
● winbindd.service - Samba Winbind daemon
Loaded: loaded (/usr/lib/systemd/system/winbindd.service; enabled; vendor preset: disabled)
Active: active (running) since dim. 2016-10-30 08:42:04 CET; 39min ago
Main PID: 1142 (winbindd)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/winbindd.service
├─1142 /usr/bin/winbindd -D
├─1166 /usr/bin/winbindd -D
└─3436 /usr/bin/winbindd -D
oct. 30 08:42:03 sarchx64 systemd[1]: Starting Samba Winbind daemon...
oct. 30 08:42:04 sarchx64 systemd[1]: Started Samba Winbind daemon.
oct. 30 08:42:05 sarchx64 winbindd[1142]: [2016/10/30 08:42:04.626080, 0] ../source3/winbindd/winbindd_cache.c:3244(initialize_winbindd_cache)
oct. 30 08:42:05 sarchx64 winbindd[1142]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
oct. 30 08:42:09 sarchx64 winbindd[1142]: [2016/10/30 08:42:09.217939, 0] ../lib/util/become_daemon.c:124(daemon_ready)
oct. 30 08:42:09 sarchx64 winbindd[1142]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
things were fine before I upgraded recently.