flowermoron Posted October 2, 2022 Share Posted October 2, 2022 Hello Anyone knows the locations for access logs or how to make unraid produce them? Quote Link to comment
Solution JorgeB Posted October 2, 2022 Solution Share Posted October 2, 2022 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. Quote Link to comment
flowermoron Posted October 2, 2022 Author Share Posted October 2, 2022 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 Quote Link to comment
JorgeB Posted October 2, 2022 Share Posted October 2, 2022 hmm, it's working for me with v6.11.0 Quote Link to comment
flowermoron Posted October 2, 2022 Author Share Posted October 2, 2022 should i reboot unraid? i hate doing that, takes a thousand years to for the gui to work! Quote Link to comment
JorgeB Posted October 2, 2022 Share Posted October 2, 2022 Reboot is not needed, just tested since I hadn't' tested with v6.11 yet. Quote Link to comment
flowermoron Posted October 2, 2022 Author Share Posted October 2, 2022 under #unassigned_devices_start both log level and logging are set to zero maybe thats the problem? Quote Link to comment
JorgeB Posted October 2, 2022 Share Posted October 2, 2022 Yep, didn't read that far before, and that's not stock Unraid or UD config. Quote Link to comment
flowermoron Posted October 4, 2022 Author Share Posted October 4, 2022 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 1 Quote Link to comment
Recommended Posts
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.