Was checking around the settings of samba using newly installed webmin… Now I cannot access the folders without using passwords or users. I’ve gone through the smb.conf and the security is set to share, but i can not for the love of god find why.
I have been running this NAS for a while and I dont want to enter password to access the files.
What is causing this? Please take a look below.
my /etc/samba/smb.conf looks like this:
[global]
netbios name = Aurora-NAS
guest account = nobody
server string = NAS
include = /etc/samba/overall_share
workgroup = WORKGROUP
os level = 20
auto services = global
realm = WORKGROUP
security = share
My overall_share looks like this
BEGIN ## sharename = SmartWare
[SmartWare]
path = /shares/SmartWare
comment = SmartWare
invalid users =
valid users = admin
read list =
write list = admin
map read only = no
END
BEGIN ## sharename = TimeMachineBackup
[TimeMachineBackup]
path = /shares/TimeMachineBackup
comment = TimeMachine
invalid users =
valid users = admin
read list =
write list = admin
map read only = no
END
BEGIN ## sharename = TimeMachine
[TimeMachine]
path = /shares/TimeMachine
comment = TimeMachine
invalid users =
valid users = admin
read list =
write list = admin
map read only = no
END
BEGIN ## sharename = Public
[Public]
path = /shares/Public
comment = Public Share
public = yes
browseable = yes
writable = yes
guest ok = yes
map read only = no
END
smb-global.conf
[global]
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/log.smbd
max log size = 50
dead time = 15
security = share
# auth methods = guest, sam_ignoredomain, winbind:ntdomain
encrypt passwords = yes
passdb backend = smbpasswd:/etc/samba/smbpasswd
create mask = 0775
directory mask = 0775
local master = yes
domain master = no
preferred master = auto
os level = 5
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
min receivefile size = 128k
use sendfile = yes
dns proxy = no
idmap uid = 10000-65000
idmap gid = 10000-65000
dont descend = /proc,/dev,/etc
admin users =
null passwords = yes
map to guest = bad user
guest account = nobody
unix extensions = no
acl check permissions = false
max protocol = SMB2
smb-global-veto.conf
veto files = /.nflc_data/