07-31-2022, 04:39 PM
(03-03-2019, 03:22 AM)Phobos84 link Wrote: OMG I finally got it. I have seriously put 18 hours into getting this to work today. I HATE SAMBA. Anyway the problem was that I never set the second hard drive to auto mount. Once I did that the directory info changes. You just have to change smb.conf to match. This is what it looks like now.
Code:#======================= Global Settings ====================================
[global]
workgroup = WORKGROUP
server string = Linux Lite Shares
netbios name = Server
security = user
encrypt passwords = true
username map = /etc/samba/smbusers
map to guest = bad user
guest account = nobody
dns proxy = no
#======================= Share Definitions ===================================
[liteshare]
path = /home/%U/linux_share
available = yes
valid users = %U %G
write list = %U
browsable = yes
public = yes
writable = yes
guest ok = yes
read only = no
printable = no
locking = no
strict locking = no
[Gunroom]
path = /mnt/11390a57-b9fd-4fbb-849a-a1006275139d/shares/
available = yes
valid users = %U %G
write list = %U
browsable = yes
public = yes
writable = yes
guest ok = yes
read only = no
printable = no
locking = no
strict locking = no
Thanks everyone for giving me pointers. If nothing else I learned a lot about samba today.
Hello and sorry for the bump on this old topic, but I am having major issues with my USB-drive connected to my router.
I can't seem to edit the smb.conf file. I don't have the permissions
