samba: Unable to access shares from IPv6 localhost
In the testing container:
fbx@freedombox:~$ smbclient -W WORKGROUP -p 445 -U tester%testingtesting \\\\localhost\\disk_group
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
fbx@freedombox:~$ ping localhost
PING localhost(localhost (::1)) 56 data bytes
64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.054 ms
root@freedombox:~# testparm -s /etc/samba/smb-freedombox.conf host-ip ::1
Denied connection from host-ip (::1)
Deny connection from host-ip (::1) to disk
root@freedombox:~# testparm -s /etc/samba/smb-freedombox.conf host-ip [::1]
Allow connection from host-ip ([::1]) to disk
Edited by Veiko Aasa