If the Samba logging folder is removed, new clients cannot connect. For example:
log file = /var/log/samba/log-%M.smbd
Folder is created and client can connect.
Folder not created, and client cannot connect.
I can connect from new windows clients(win2012) as well to samba-4.8.6.
This is my smb.conf
workgroup = WORKGROUP
security = user
passdb backend = tdbsam
log level = 9
log file = /var/log/samba-test-log/log-%M.smbd
path = /share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
if /var/log/samba-test-log/ is not present. samba writes logs inside /var/log/samba/ folder.
1. Which version of samba you are using?
2. Can you provide your smb.conf and check with above smb.conf?
The issue was when the '/var/log/samba/ folder was deleted.
I'm currently running 4.9.6 and cannot reproduce, so am marking this as resolved.