Hello everyone!
I turn to one of the more clever forums I know of in hopes of finally solving my network file sharing nightmares.
My situation:
I have a server running Linux Mint in my basement. This server does a lot of things (for a home user), it hosts my own Mumble server, it runs Folding@Home, it has a virtual server running ownCloud. This is all working as expected.
I recently got a hold of more storage space, and I was enthused to make my own home media sharing server; mainly for films through clients running Kodi, but also a music library.
I went online and did research and found that my options were either using Samba, or NFS (Network File System). Since my network has both Windows and Linux based clients in it, and for the seemingly easier setup, I ended up trying Samba first.
I downloaded the necessary server software onto my server machine, configured the "smb.conf" and "smbusers" files (Will post the config further down.), gave my testing account/smbgroup the permissions to the folder I wish to share.
My problem:
Now I could see the shared folder from my two client computers (Two laptops, one Linux Mint and one Windows 7). From the Windows 7 computer I can log in with the Samba username/password combination I set previously and I can see that folder's subfolders. However, with the account I set up, I cannot access the subfolders at all; Linux Mint gets stuck trying (And eventually times out), and Windows 7 tells me I don't have the permissions.
Using my Linux servers admin login/password combination on the other hand works perfectly in every scenario.
I have been trying for a good few weeks on and off with this problem, but both me and the little help I have gotten online have been unable to solve the problem.
P.S I even tried NFS shortly, just to see if it was less of a problem. The problem is I only get about 5 MB/s transfer speed, as opposed to Samba's 30-40 MB/s. Tested on Linux on both ends.
smb.conf:
[Filmer]
comment = Filmer till Kodi
path = /media/mint/Filmer/
writeable = yes
; browseable = yes
; guest ok = no
valid users = @smbgroup
[Musikdelning]
comment = Musik över nätverk
path = /media/mint/Musikdelning/Samba
writeable = yes
; browseable = yes
valid users = @smbsgroup
smbusers:
# Unix_name = SMB_Name1 SMB_Name2 ...
root = administrator
nobody = guest smbguest pcguest
smbuser = smbuser
mint = mint