Since the latest updates to Tumbleweed, None of the computers on my network can reach my tumbleweed machines file shares, I have shared the directories in /home. This has been working flawlessly as it always does for a very long time, but this last batch of updates seems to have broken something, SMB, NMB, and WSD are all running, not sure if it is a kernel issue, or a change in the smb protocols.
Running KDE PLasma, and as I said, documents, downloads, videos, music are all be ing shared and previous to the last batch of updates were all working perfectly.
I have had the previous 7 kernels with no problems, only the latest updates did this, I downgraded the kernel to the previous one, and had teh same problem, so I am not sure what the issue is. These are not mounts, just simple smb shares on my network that I access in dolphin, or in explorer from windows…
bruce@Minisforum-PC:~> testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
Server role: ROLE_STANDALONE
Global parameters
[global]
logon drive = P:
logon home = \%L%U.9xprofile
logon path = \%L\profiles.msprofile
map to guest = Bad User
printcap name = cups
usershare max shares = 100
idmap config * : backend = tdb
cups options = raw
bruce@Minisforum-PC:~>
It was set up through yast a long time ago, and has worked perfectly until last updates, TBH none of that output looks even relmotely to what it should be
Right… did you perhaps have these configured as usershares via Dolphin/Plasma (Properties > Share), rather than defining them manually in /etc/samba/smb.conf?
If so, please show the output from…
net usershare list
testparm -sv | grep usershare
ls -l /var/lib/samba/usershares
I got it working, Very odd, smb.conf showed just homes, I added one share manually /home/bruce/Pictures restarted smd and nmb, and checked from windows and all of my shares were back, I am very confused, but it is working now and will leave it as is LOL
Used to be all I had to do in Yast was tell it allow users to share home directories and that would allow me to share my folders using Dolphin setting up shares, apparantly something went haywire with the most recnt updates, needless to say it is working again . Thank you everyone fore your input
Yes, I think under the hood the YaST utility was essentially enabling Samba’s usershare functionality. Anyway, for others who may come searching, here’s what is required under the hood…
[global]
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = no
usershare owner only = yes
Of course the usershare directory needs to exist…
Once that’s configured, there are a few different methods to create/manage usershares…
Via Dolphin, select directory > Properties > Share
Using net usershare.... commands
Cockpit’s File Sharing module (where available)
I have cockpit-file-sharing installed (third-party means), and it does work, but the initial smb.conf usershare configuration had to be made first of course.
Another fishhook for Leap 16 users, is that it has adopted the modern user private groups (UPG) model by default, where each user’s primary group is the same as their username. That impacts on users being able to share folders conveniently. However, they could still use something like sudo net usershare add Downloads /home/dean/Downloads and then check with sudo net usershare list.