Messed up samba through Webmin

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/

this is mine, see if it helps…

[global]
workgroup = WORKGROUP
realm = WORKGROUP
netbios name = MBL
server string = My Book Live Network Storage

include = /etc/samba/smb-global.conf
include = /etc/samba/smb-global_veto.conf
include = /etc/samba/overall_share

Running firmware 02.32.05-046. yes, older firmware, I tend not to update unless I run into issues.

Hii, and thanks! Just a question, the output you posted here, from which file is that?

/etc/samba/smb.conf
/etc/wdcomp.d/wd-nas/saved_settings/etc/samba/smb.conf

My two smb.conf are not the same. From which file is samba reading? :S

the one you mentioned of course, /etc/samba/smb.conf. Did not see another one mentioned.

But both have the same config.

No idea which one is reading.

Great, thanks. Works again. Thumbs up!

Could you please share your /etc/samba/smb-global.conf aswell? Would be awesome.