Samba on MX19.2[RESOLVED]
Samba on MX19.2[RESOLVED]
Samba does not work for me in MX19.2 - I have tried editing the configuration file
as suggested by dedo'
https://www.dedoimedo.com/computers/ubu ... hares.html
but still get no joy in "Windows Network".
Has anybody managed to get Samba to work in MX19.2?
as suggested by dedo'
https://www.dedoimedo.com/computers/ubu ... hares.html
but still get no joy in "Windows Network".
Has anybody managed to get Samba to work in MX19.2?
Last edited by GuiGuy on Tue Oct 13, 2020 3:10 pm, edited 1 time in total.
- dolphin_oracle
- Developer
- Posts: 22281
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Samba on MX19.2
yes, but I have to direct address my shares, even from windows.
\\servername\sharename
I didn't do anything special, just used the usual samba config tool. the only thing that doesn't work is browsing for the share, but that hasn't worked for me for a while (I blame windows 10).
\\servername\sharename
I didn't do anything special, just used the usual samba config tool. the only thing that doesn't work is browsing for the share, but that hasn't worked for me for a while (I blame windows 10).
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- chrispop99
- Global Moderator
- Posts: 3361
- Joined: Tue Jan 27, 2009 2:07 pm
Re: Samba on MX19.2
I had the same problem, but was helped here, and now have as much of it working as I need. I had to enter the following in a terminal as a one-off:
and after a reboot I could connect to my Linux machine from a Windows one.
Chris
Code: Select all
sudo smbpasswd -L -a username
Chris
MX Facebook Group Administrator.
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines
Re: Samba on MX19.2
Hello, have you tried enabling Samba 1.x in the Windows Programs and Features?
Step 1
Go to settings

Step 2
Click on Apps

Step 3
Click Programs and Features

Step 4
Click Turn Windows features on or off

Step 5
Check SMS 1.0/CIFI File Sharing Support

Step 1
Go to settings

Step 2
Click on Apps

Step 3
Click Programs and Features

Step 4
Click Turn Windows features on or off

Step 5
Check SMS 1.0/CIFI File Sharing Support

Re: Samba on MX19.2
Thanks, gentlemen.
My complaint is that "Windows Shares" draws a total blank - it
does not even see my other Linuxes which are running.
BTW I do not use Windows10, only XP and 98se.
My complaint is that "Windows Shares" draws a total blank - it
does not even see my other Linuxes which are running.
BTW I do not use Windows10, only XP and 98se.
Re: Samba on MX19.2
I can browse and connect to all my running machines from both XP and 98se:
so I believe the trouble is down to MX19.2's defective Samba.
so I believe the trouble is down to MX19.2's defective Samba.
You do not have the required permissions to view the files attached to this post.
Re: Samba on MX19.2
I don't think this is a defective samba. I think this is a defective gvfs backend.
I would be willing to bet if you ran the following command it would list your servers and their shares:
My suggestion:
Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add this one:
Then restart smbd:
In some cases you may need to reboot.
I would be willing to bet if you ran the following command it would list your servers and their shares:
Code: Select all
smbtree
Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add this one:
Code: Select all
client max protocol = NT1
Code: Select all
sudo service smbd restart
-
- Posts: 3602
- Joined: Tue Jun 14, 2016 2:02 pm
Re: Samba on MX19.2
Morbius1 wrote: Thu Sep 03, 2020 3:02 pm My suggestion:
Edit /etc/samba/smb.conf and right under the workgroup = WORKGROUP line add this one:Code: Select all
client max protocol = NT1
crborga wrote: Thu Sep 03, 2020 11:49 am Hello, have you tried enabling Samba 1.x in the Windows Programs and Features?
No one should ever use NT1 (SMB1) ever again.
It has been depreciated from Windows and Samba for a very big and good reason.
It is a huge vulnerability and exploit vector.
The actual and proper solution is out there though... we just have to find it.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.
-
- Posts: 3602
- Joined: Tue Jun 14, 2016 2:02 pm
Re: Samba on MX19.2
GuiGuy, is there a reason you're running these legacy systems?
If it is to use legacy Windows applications, have you attempted to use them with WINE?
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.
Re: Samba on MX19.2
So this is kind of forum I just entered. Understood.
The problem here is two-fold:
By default the "client min protocol" is already set to "core" in the version of samba you all are using so that's even worse.
From man smb.conf for "client min protocol":
This all happened incidentally when samba decided to change the client max from NT1 in previous versions to SMB3_11. That messed up gvfs.
The problem here is two-fold:
By default the "client min protocol" is already set to "core" in the version of samba you all are using so that's even worse.
From man smb.conf for "client min protocol":
The second problem is that the "fix" to this problem was for the good folks over at gvfs central to force gvfsd-smb-browse to use smb1 in order to get the list of workgroups and servers in newer versions.Default: client min protocol = CORE
This all happened incidentally when samba decided to change the client max from NT1 in previous versions to SMB3_11. That messed up gvfs.