I have a LAN with many users(clients) in it. Each of them has a private samba share folder. How can I prevent somebody (within the same network) brute forces another account (so he can access somebody else data)?Googling brings only: Samba shares should not be on the public internet. But I am in my local network.I think many admins have exact this problem (for example companies or university admins) So is there any way to allow only 3 login attempts per minute or blacklisting the ip of an client after 3 attempt?  Or any other solution for this problem? I tried fail2ban, but there is no host ip address in the log file.More Info:Clients mostly windows 7 or aboveSamba current Version on Ubuntu 16.04
preventing brute force attack on samba server
security;samba