If the Samba logging folder is removed, new clients cannot connect. For example: log file = /var/log/samba/log-%M.smbd Test: Remove '/var/log/samba/' Expected result: Folder is created and client can connect. Actual result: Folder not created, and client cannot connect.
Hello Ryan, I can connect from new windows clients(win2012) as well to samba-4.8.6. This is my smb.conf [global] workgroup = WORKGROUP security = user passdb backend = tdbsam log level = 9 log file = /var/log/samba-test-log/log-%M.smbd [myshare] 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?
Hi Amit, 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. Best, Ryan