Hi there,
I am having problems configuring samba:
either I configure access with "allowed users = root" and "allow guests = yes", or I get an error
"samba is not accessible you might not have permission bla bla" when I try to open the share on windows.
after quite a bit of messing around, the current status of /etc/config/samba is:
config samba
option name 'PandoraBox'
option homes '1'
option autoshare '1'
option workgroup 'DEBFA'
option description 'PandoraBox NAS shares'
config sambashare
option name 'root'
option path '/'
option read_only 'no'
option guest_ok 'yes'
option create_mask '0700'
option dir_mask '0700'
option users 'root'
config sambashare
option auto '1'
option name 'sdb1'
option path '/mnt/sdb1'
option read_only 'no'
option create_mask '0700'
option dir_mask '0700'
option users 'root'
option guest_ok 'yes'
config sambashare
option auto '1'
option name 'sda1'
option path '/mnt/sda1'
option read_only 'no'
option guest_ok 'yes'
option create_mask '0700'
option dir_mask '0700'
option users 'root'
the status of /etc/samba/smb.conf is:
[global]
netbios name = PandoraBox
display charset = UTF-8
interfaces = 127.0.0.1/8 lo 192.168.1.1/24 br-lan
server string = PandoraBox NAS shares
unix charset = UTF-8
workgroup = DEBFA
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
# guest account = nobody
guest account = root
guest ok = yes
# invalid users = root
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = no
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes
[homes]
comment = Home Directories
browsable = no
read only = no
create mode = 0750
[root]
path = /
valid users = root
read only = no
guest ok = yes
create mask = 0700
directory mask = 0700
[sdb1]
path = /mnt/sdb1
valid users = root
read only = no
guest ok = yes
create mask = 0700
directory mask = 0700
[sda1]
path = /mnt/sda1
valid users = root
read only = no
guest ok = yes
create mask = 0700
directory mask = 0700
any help would be appreciated
Thank you!