Explains how to configure Samba to use SMBv2/SMBv3 and disable SMBv1 on Linux or Unix-like systems for security reasons such as WannaCrypt/WannaCry.
Stay safe. Avoid security issues on your Linux or Unix smb server.

seen from United States
seen from United States

seen from United States
seen from Netherlands

seen from United States
seen from Romania
seen from Germany
seen from Germany

seen from Germany
seen from United States
seen from China

seen from Germany

seen from United States
seen from France
seen from United States

seen from United States
seen from United States

seen from Türkiye
seen from Türkiye

seen from United States
Explains how to configure Samba to use SMBv2/SMBv3 and disable SMBv1 on Linux or Unix-like systems for security reasons such as WannaCrypt/WannaCry.
Stay safe. Avoid security issues on your Linux or Unix smb server.
Explains how to configure Samba to use SMBv2 and disable SMBv1 on Linux or Unix-like systems for security reasons.
WannaCrypt/WannaCry targets the Microsoft Windows operating system and Linux based Samba server too. Here is how to protect your box.
smb.conf
紆余曲折を経て、なんとか本番可動にこぎつけたけど、sambaのスループットがなかなか上がらない。 NICが蟹なので、ドライバの問題とかも当然対処済みなんだが、一向にダメ。
iperfでスピード測定したら、ネットワーク自体は930Mbps出てるので、問題ないみたい。
ってことで、面倒だけど、smb.confのチューニングをすすめることに。 出来れば、700Mbps(約87.5MB/s)は出て欲しいんだけど、どこまでいけるか?
なぜかmssが1448だったので、とりあえずsocket optionsのSNDBUFとRCVBUFのサイズを、それぞれ101360(x70)で設定してみたところ、無設定のスループットにほど近い、40MB/sまでは到達。 ここから、どれだけ上げられるか、地道に調整。
CentOS 6.2 and Encountered Issues while setting up a Samba Share
Today I was told to create a Samba share for my Windows box. I have finished that task, and unfortunately have had lots of fun trying to figure out what went wrong where with the box. (Also, Debugging is wonderful!) By the way, I'm going to be logging the errors and such I've experienced while learning about UNIX and Linux systems, and linking/posting the solutions to those problems so that others may find them all in one place and useful. And so that I can look back here when I encounter an issue again.
Anyway, I thought it would be prudent to share what I have subsequently discovered in one place, so that when others have issues with this same problem, they would not have to dig around Google's search engine to find the answers.
What worked for me is at the very bottom of this post.
Win7 samba issue on ubuntu Precise 12.04
I like many others upgraded to the new LTS (Long Term Support) version of ubuntu that was released in April, commonly referred to as Precise or 12.04
Initially everything looked fine, then things seemed to become unstable. perhaps a better way of describing the issue is that windows 7 clients could browse although slowly sometimes and download small files but would falter and fail if large files were downloaded.
It is hard to say the exact sequence of events, suffice to say after two weeks and a couple of reboots of the ubuntu server I have managed to find at least one workaround. looking back it would seem two things were evident:
slow downs occerred and a reboot of the server on at least one occasion returned download speeds back to satisfactory levels
windows 7 was affected, whereas Linux, Android and the Windows XP SMB clients were not.
It would not surprise me if one or more new memory leaks have krept into the mix with the upgrade to 12.04 and this would account for item 1 above, only time and the ability to narrow down the issue will assist.
However, for the second item a workaround is possible that allows speeds simialar to the 11.10 samba package.
Add the following line to the global setting of /etc/samba/smb.conf file:
max protocol = NT1
I kept all other configuration lines as I had them from 11.10 version of my smb.conf file.
Afterwards reboot your windows 7 clients and try to transfer files you should see a vast improvement.
The workaround was found like so many other things by searching long and hard with google, thanks to Ryan Davies who actually found the solution in amongst the google hits.
ciao
Paul