You are not logged in.
I'm experiencing weird problem which has been addressed here and here.
I have samba + winbind installed and configured as client:
[global]
workgroup = BIOKINET
netbios name = desolve-lab
server string = desolve-lab SMB client
hosts allow = 172.16. 127.0.0.1
load printers = no
log file = /var/log/samba/%m.log
max log size = 100
log level = 2
dns proxy = no
security = user
map to guest = Bad User
wins server = 172.16.0.1
smb, nmb and winbind daemons are running fine. wins is appended to the nsswitch.conf:
[viktor@desolve-lab ~]$ cat /etc/nsswitch.conf
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: files mymachines systemd
group: files mymachines systemd
shadow: files
publickey: files
hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns wins
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
nmblookup works great and I have NetBIOS resolution:
[viktor@desolve-lab ~]$ nmblookup apocalypse
added interface enp3s0 ip=2002:5db4:3e7c:b:cf01:5647:b0c6:3ac3 bcast= netmask=ffff:ffff:ffff:ffff::
added interface enp3s0 ip=fec0::b:9eb7:1a7a:d5d3:5773 bcast= netmask=ffff:ffff:ffff:ffff::
added interface enp3s0 ip=172.16.45.173 bcast=172.16.255.255 netmask=255.255.0.0
Got a positive name query response from 172.16.140.43 ( 172.16.140.43 )
172.16.140.43 apocalypse<00>
[viktor@desolve-lab ~]$ nmblookup nexera
added interface enp3s0 ip=2002:5db4:3e7c:b:cf01:5647:b0c6:3ac3 bcast= netmask=ffff:ffff:ffff:ffff::
added interface enp3s0 ip=fec0::b:9eb7:1a7a:d5d3:5773 bcast= netmask=ffff:ffff:ffff:ffff::
added interface enp3s0 ip=172.16.45.173 bcast=172.16.255.255 netmask=255.255.0.0
Got a positive name query response from 172.16.49.120 ( 192.168.200.1 10.177.77.205 172.16.49.120 )
172.16.49.120 nexera<00>
192.168.200.1 nexera<00>
10.177.77.205 nexera<00>
However, ping works only for hosts with exactly one IP address assigned. For all other hosts I have "System error":
[viktor@desolve-lab ~]$ ping apocalypse
PING apocalypse (172.16.140.43) 56(84) bytes of data.
64 bytes from 172.16.140.43 (172.16.140.43): icmp_seq=1 ttl=64 time=0.178 ms
64 bytes from 172.16.140.43 (172.16.140.43): icmp_seq=2 ttl=64 time=0.164 ms
64 bytes from 172.16.140.43 (172.16.140.43): icmp_seq=3 ttl=64 time=0.201 ms
^C
--- apocalypse ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 24ms
rtt min/avg/max/mdev = 0.164/0.181/0.201/0.015 ms
[viktor@desolve-lab ~]$ ping nexera
ping: nexera: System error
Seems like this bug has been fixed some time ago but I still experiencing it. How can I workaround it?
EDIT: after about a half-year from posting time the issue still exists. Workaround which was suggested on [Ubuntu bugtracker](https://bugs.launchpad.net/ubuntu/+sour … comments/3) seems to be poor solution because in common case I have no access to Windows machines
EDIT 2: filed a bug
Last edited by dviktor (2019-09-20 11:06:42)
Offline