October 2, 20223 yr Hello Anyone knows the locations for access logs or how to make unraid produce them?
October 2, 20223 yr Solution Go to Settings -> SMB -> SMB Extras and add: log level = 3 logging = syslog Then check the syslog, note that Samba will get very chatty so it can fill it up after a few hours.
October 2, 20223 yr Author hmmm not working this is my smb extras store dos attributes = yes ea support = yes map archive = yes map hidden = yes map system = yes map readonly = yes log level = 3 logging = syslog server min protocol = SMB3_11 client ipc min protocol = SMB3_11 client signing = mandatory server signing = mandatory client ipc signing = mandatory client NTLMv2 auth = yes smb encrypt = required restrict anonymous = 2 null passwords = No raw NTLMv2 auth = no #unassigned_devices_start #Unassigned devices share includes include = /tmp/unassigned.devices/smb-settings.conf #unassigned_devices_end #vfs_recycle_start #Recycle bin configuration [global] syslog only = No syslog = 0 logging = 0 log level = 0 vfs:0 #vfs_recycle_end
October 2, 20223 yr Author should i reboot unraid? i hate doing that, takes a thousand years to for the gui to work!
October 2, 20223 yr Author under #unassigned_devices_start both log level and logging are set to zero maybe thats the problem?
October 4, 20223 yr Author On 10/2/2022 at 2:44 PM, JorgeB said: Go to Settings -> SMB -> SMB Extras and add: log level = 3 logging = syslog Then check the syslog, note that Samba will get very chatty so it can fill it up after a few hours. i found this instead log level = 1 auth_json_audit:3 less chatty and only shows access logs, works with fail2ban so far
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.