Fix Samba (Windows) File Sharing in Linux

preview_player
Показать описание
How to fix Samba (Windows) file sharing if you are getting errors in Linux. This may occur with older hardware or sharing using your router's USB port.
You may need to enable the older SMB1 protocol. Be careful, however, as this protocol is inefficient, and has security issues.

1. Install samba. In terminal (for Ubuntu and Debian base):
sudo apt update
sudo apt install samba

4. Scroll down to the [GLOBAL] section and add this line:
client min protocol = NT1

5. Restart your computer or restart the smb service:

Links referenced in the video:

Attributions:
network-cable-1243146 - Photo by doctor-a from FreeImages
Music heard in this video is Bolereando by Quincas Moreira from the YouTube Audio Library.

Contact me:
Twitter: @sleepyeyesvince
Рекомендации по теме
Комментарии
Автор

WOW, YOU are my HERO!!! I followed your instructions after attempting to connect a freshly installed MX-23 Linux Laptop to an old Buffalo NAS Device that I use to hold and host movies in our home for the kids. I kind of figured something changed in security or protocols or something. I have been looking for the solution to this problem for about 2 days and YOUR VIDEO provided the perfect solution. Like you, I really don't care if my NAS is a little more vulnerable as it's only used in my home and it's behind 2 separate routers/firewalls. All of my other PC's can connect to it including my old Linux Lite 14.04 daily driver PC. I'm getting ready to install MX Linux on it after the new year and tax season, but wanted to sanity test the new OS on a junker machine to make sure I can access everything I need to like NAS devices, shares on other Linux PC's in my home and Cups Network Attached Printers. The connection to my 2 OLD Buffalo NAS Devices was the final hurdle and your video helped me fix it. I can't thank you enough for this information. It's amazing what one short line of text can do.

optionstraderman
Автор

Samba can be a pain sometimes. Thanks for the video!

EricAdamsYT
Автор

Great video Vince, bookmarked for if I ever use samba (sftp addict here lol) take care mate :)

DonHenderson
Автор

THANKS! I was going crazy wondering what happened to my shares.

jeffbridges
Автор

Thanx you were of immense help to me. Greetings

sonicboom
Автор

How to do this in thecus NAS? Is it same to this

UNIQUECreations
Автор

great video sir. btw i have centos installed and running samba too, unfortunately after some power outages, i cannot access the files shared now.... hope you can help. i can see the sahred files but i cannot get into it.

EatToBite
Автор

Hola, estoy buscando como limitar la velocidad de copia a los clientes SMBD, alguien me ayuda ??

jbgrenouille