Sometime after some time or when MacOS system is waked-up samba mounts stop working.
Instead of mounting a drive reporting following error:
mount_smbfs: could not find mount point /mnt/disk_d: Socket is not connected</div> mount_smbfs: could not find mount point /mnt/disk_e: Socket is not connected</div> mount_smbfs: mount error: /mnt/disk_p: Socket is not connected</div>
After a little search I found following tip. It could help:
1. Click Start, and then click Run. 2. Type regedit, and then click OK. 3. Navigate to the following key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters 4. In the right pane, double-click the IRPStackSize value. NOTE: If the IRPStackSize value does not already exist, use the following procedure to create it:a. In the Parameters folder of the registry, right-click the right pane. b. Point to New, and then click DWord Value. c. Type IRPStackSize. IMPORTANT: Type "IRPStackSize" exactly as it is displayed because the value name is case-sensitive. 5. Change the Base to decimal. 6. In the Value Data box, type a value that is larger than the value that is listed. If you created the IRPStackSize value using the procedure described in step 4, the default value is 15. It is recommended that you increase the value by 3. Therefore, if the previous value was 11, type 14, and then click OK. 7. Close the Registry Editor. 8. Restart the computer.