I’m having some hiccups getting my Samba shares live. On a fresh KDE install. Previously, this hardware was running Ubuntu 18.04. While changing out the storage media I switched to Manjaro after using it in multiple VMs. System filestructure is btrfs, if that matters at all.
There are 2 points where I am in need of assistance.
- enabling sharing through file browser [Dolphin]
- configuring using smb.conf
[1] I have gone through the Wiki’s instruction for getting file sharing started in Dolphin.
pamac install gvfs-smb
pamac install samba kdenetwork-filesharing manjaro-settings-samba
Dolphin essentially accused the OS of not configuring things the way they want it.
For example, the above code adds my user to sambashare. Dolphin wanted me to be in usershares.
One by one, I cleared those errors. Now when I attempt to share a directory n Dolphin, I get the following message:
net usershare: usershares are currently disabled
My online searching hasn’t provided the right info as of yet. How do I clear this error?
[2] I’ve made some edits to my smb.conf file in hopes of creating an anonymous share [its just media for the most part]. It seems to work in that other devices on the network can see my PC name; however, the only thing visible is printers.
Here is the output from testparm.
testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Global parameter interfaces found in service section!
Global parameter bind interfaces only found in service section!
Global parameter log file found in service section!
Global parameter max log size found in service section!
lpcfg_do_service_parameter: WARNING: The "syslog" option is deprecated
Global parameter syslog found in service section!
Global parameter panic action found in service section!
Global parameter server role found in service section!
Global parameter passdb backend found in service section!
Global parameter obey pam restrictions found in service section!
Global parameter unix password sync found in service section!
Global parameter passwd program found in service section!
Global parameter passwd chat found in service section!
Global parameter pam password change found in service section!
Global parameter map to guest found in service section!
Global parameter usershare max shares found in service section!
Global parameter usershare allow guests found in service section!
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
dns proxy = No
guest account = guest
map to guest = Bad User
security = USER
server string = %h server (Samba, Manjaro)
usershare allow guests = Yes
usershare owner only = No
idmap config * : backend = tdb
[guest_share]
comment = guest_share
force create mode = 0666
force directory mode = 0777
guest ok = Yes
guest only = Yes
path = /home/media/
printable = Yes
read only = No
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
My hunch is that I need to change a permission of a user or group. I’ve played with it, followed various Arch setup guides, and now need to ask someone to point me in the right direction.
Thanks in advance!