Problem:
The access to a share on a memberserver is very slow or not possible at all
Investigation:
Check your interfaces of the server and which are activated for samba
ucr get samba/interfaces
lo eth0 eth1 bond0 bond0.67 bond0.10
ip a
ifconfig
All of these interfaces were activated for samba, but just bond0.10 has an IP.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0
4: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group
5: bond0.10@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
6: bond0.67@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
So samba tries all interfaces and gets no answer or it takes a lot of time.
Solution:
Set the interfaces only to the used one:
You also have to set samba/interfaces/bindonly to yes, even if it is already shown as set to yes in the smb.conf
ucr set samba/interfaces="lo bond0.10"
ucr set samba/interfaces/bindonly=yes