Hey I am kinda new to linux and samba just go my pi last week.
I am trying to set up samba permissions but can not really get it working like i want.
So I am trying to have "WgNas" open for everybody and "LukasNas" accesible via password.
All I changed yet is "security = share" and I added the 2 subsections.
Right now I can acces both via samba if I disable "use samba password authentication" in services and if I enable it I can not acces with the default login.
Bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
# samba.conf v4 (do not remove)
# This configuration file allows you to customize the samba shares
# available from your machine
[global]
server string = LibreELEC
browseable = yes
writeable = yes
printable = no
deadtime = 30
mangled names = no
name resolve order = host bcast
printcap name = /dev/null
load printers = no
encrypt passwords = true
enable core files = no
passdb backend = smbpasswd
smb encrypt = disabled
fruit:model = Xserve
# samba share options
map to guest = Bad User
guest account = root
security = share
# samba tuning options
socket options = TCP_NODELAY IPTOS_LOWDELAY
min receivefile size = 16384
aio read size = 16384
aio write size = 16384
use sendfile = yes
# The following are default values for the master selection process
# local master = yes
# preferred master = auto
# domain master = auto
# os level = 20
# "strict allocate = yes" breaks large network transfers to external hdd
# Force this to "no" in case "yes" becomes the default in future
strict allocate = no
allocation roundup size = 0
# Using the following configurations as a template allows you to add
# writeable shares of disks and paths under /storage
[LukasNas]
path = var/media/LukasNas
available = yes
browsable = no
public = no
writable = yes
[WgNas]
path = var/media/WgNas
available = yes
browsable = yes
public = yes
writable = yes
guest ok = yes
Display More
Thanks in advance for the help