This global option specifies the number of seconds that Samba waits between sending NetBIOS
keep-alive packets. These packets are used to ping a client to detect whether it is still alive and on the network. The default value for this option is
0, which means that Samba will not send any such packets at all. You can override it as follows:
[global]
keep alive = 10