Sorry to have disturbed the list for that problem that seems not related to Samba. We discovered that BitDefender antivirus "real time" protection is the cause. We are going to submit the issue to them. Regards.